add compute shader renderer properly to the GUI

also add option to toggle using high resolution vertex coordinates
This commit is contained in:
RSDuck
2023-05-14 22:16:11 +02:00
parent 045829b0bd
commit a631a33239
10 changed files with 120 additions and 86 deletions

View File

@ -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();