renderGL: fix OpenGL ES stuff

This commit is contained in:
tildearrow 2023-06-03 17:08:20 -05:00
parent b2cf64c117
commit 9c4a7cd6d4
4 changed files with 47 additions and 15 deletions

View file

@ -74,6 +74,14 @@ enum FurnaceGUIRenderBackend {
GUI_BACKEND_GL
};
#ifdef HAVE_RENDER_SDL
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SDL
#define GUI_BACKEND_DEFAULT_NAME "SDL"
#else
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL
#define GUI_BACKEND_DEFAULT_NAME "OpenGL"
#endif
// TODO:
// - add colors for FM envelope and waveform
// - maybe add "alternate" color for FM modulators/carriers (a bit difficult)