Replace ENABLE_OPENGL with PANDA3DS_ENABLE_OPENGL

This commit is contained in:
Wunkolo 2023-07-10 09:25:39 -07:00
parent c53080b444
commit a636a0d1da
4 changed files with 10 additions and 10 deletions

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