mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
add compute shader renderer properly to the GUI
also add option to toggle using high resolution vertex coordinates
This commit is contained in:
11
src/GPU.h
11
src/GPU.h
@ -160,6 +160,7 @@ struct RenderSettings
|
||||
|
||||
int GL_ScaleFactor;
|
||||
bool GL_BetterPolygons;
|
||||
bool GL_HiresCoordinates;
|
||||
};
|
||||
|
||||
|
||||
@ -170,6 +171,16 @@ void Stop();
|
||||
|
||||
void DoSavestate(Savestate* file);
|
||||
|
||||
enum
|
||||
{
|
||||
renderer3D_Software = 0,
|
||||
#ifdef OGLRENDERER_ENABLED
|
||||
renderer3D_OpenGL,
|
||||
renderer3D_OpenGLCompute,
|
||||
#endif
|
||||
renderer3D_Max,
|
||||
};
|
||||
|
||||
void InitRenderer(int renderer);
|
||||
void DeInitRenderer();
|
||||
void ResetRenderer();
|
||||
|
Reference in New Issue
Block a user