mirror of
https://github.com/glfw/glfw.git
synced 2026-08-28 20:15:54 +02:00
Fixed uses of wrong loop variable.
This commit is contained in:
@@ -173,11 +173,11 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* found)
|
||||
RROutput output;
|
||||
|
||||
ci = XRRGetCrtcInfo(_glfw.x11.display, sr, sr->crtcs[i]);
|
||||
output = ci->outputs[i];
|
||||
output = ci->outputs[0];
|
||||
|
||||
for (j = 0; j < ci->noutput; j++)
|
||||
{
|
||||
if (ci->outputs[i] == primary)
|
||||
if (ci->outputs[j] == primary)
|
||||
{
|
||||
output = primary;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user