Hardcoding glfw device params.

This commit is contained in:
Rinnegatamante
2020-10-17 20:54:33 +02:00
parent f0471b3be2
commit ab0df0acc7
+4 -4
View File
@@ -1468,10 +1468,10 @@ deviceSystemGLFW(DeviceReq req, void *arg, int32 n)
case DEVICEGETNUMSUBSYSTEMS:
return glGlobals.numMonitors;
return 1;
case DEVICEGETCURRENTSUBSYSTEM:
return glGlobals.currentMonitor;
return 0;
case DEVICESETSUBSYSTEM:
return 1;
@@ -1482,10 +1482,10 @@ deviceSystemGLFW(DeviceReq req, void *arg, int32 n)
case DEVICEGETNUMVIDEOMODES:
return glGlobals.numModes;
return 1;
case DEVICEGETCURRENTVIDEOMODE:
return glGlobals.currentMode;
return 0;
case DEVICESETVIDEOMODE:
if(n >= glGlobals.numModes)