renderGL: fix OpenGL ES stuff
This commit is contained in:
parent
b2cf64c117
commit
9c4a7cd6d4
4 changed files with 47 additions and 15 deletions
|
|
@ -26,12 +26,6 @@
|
|||
#include "render/renderGL.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RENDER_SDL
|
||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SDL
|
||||
#else
|
||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL
|
||||
#endif
|
||||
|
||||
bool FurnaceGUI::initRender() {
|
||||
if (rend!=NULL) return false;
|
||||
|
||||
|
|
@ -71,4 +65,4 @@ bool FurnaceGUI::quitRender() {
|
|||
delete rend;
|
||||
rend=NULL;
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue