mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
make OpenGL renderer a build option
mostly meant for the Switch port
This commit is contained in:
@ -949,6 +949,7 @@ void GPU2D::VBlankEnd()
|
||||
//OBJMosaicY = 0;
|
||||
//OBJMosaicYCount = 0;
|
||||
|
||||
#ifdef OGLRENDERER_ENABLED
|
||||
if (Accelerated)
|
||||
{
|
||||
if ((Num == 0) && (CaptureCnt & (1<<31)) && (((CaptureCnt >> 29) & 0x3) != 1))
|
||||
@ -956,6 +957,7 @@ void GPU2D::VBlankEnd()
|
||||
GPU3D::GLRenderer::PrepareCaptureFrame();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user