Replace ENABLE_OPENGL with PANDA3DS_ENABLE_OPENGL

This commit is contained in:
Wunkolo
2023-07-11 11:28:06 -07:00
parent c53080b444
commit a636a0d1da
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
#include "io_file.hpp"
#include "memory.hpp"
#if ENABLE_OPENGL
#if PANDA3DS_ENABLE_OPENGL
#include "gl_state.hpp"
#endif
@@ -33,7 +33,7 @@ class Emulator {
EmulatorConfig config;
SDL_Window* window;
#if ENABLE_OPENGL
#if PANDA3DS_ENABLE_OPENGL
SDL_GLContext glContext;
GLStateManager gl;
#endif