From ab0df0acc783a448a8a1390925820badc9dffbac Mon Sep 17 00:00:00 2001 From: Rinnegatamante Date: Sat, 17 Oct 2020 20:54:33 +0200 Subject: [PATCH] Hardcoding glfw device params. --- src/gl/gl3device.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gl/gl3device.cpp b/src/gl/gl3device.cpp index 5633d8e..8791f47 100644 --- a/src/gl/gl3device.cpp +++ b/src/gl/gl3device.cpp @@ -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)