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

@ -8,7 +8,7 @@
#include "PICA/float_types.hpp"
#include "PICA/regs.hpp"
#if ENABLE_OPENGL
#if PANDA3DS_ENABLE_OPENGL
#include "renderer_gl/renderer_gl.hpp"
#endif
@ -21,7 +21,7 @@ GPU::GPU(Memory& mem, EmulatorConfig& config) : mem(mem), config(config) {
mem.setVRAM(vram); // Give the bus a pointer to our VRAM
// TODO: configurable backend
#if ENABLE_OPENGL
#if PANDA3DS_ENABLE_OPENGL
renderer.reset(new RendererGL(*this, regs));
#endif
}