mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
oops forgot to sav one file in last commit
This commit is contained in:
parent
a968a137a1
commit
b9b9478712
@ -70,7 +70,7 @@ namespace OpenTK.Platform.X11 {
|
||||
first = false;
|
||||
}
|
||||
devices.Add(dev);
|
||||
// It seems that all X screens are equal to 0 is Xinerama is enabled, at least on Nvidia (verify?)
|
||||
// It seems that all X screens are equal to 0 is Xinerama is enabled, at least on Nvidia (verify?)
|
||||
dev.Metadata = 0; /*screen.ScreenNumber*/
|
||||
}
|
||||
}
|
||||
@ -105,7 +105,7 @@ namespace OpenTK.Platform.X11 {
|
||||
++resolution_count;
|
||||
}
|
||||
|
||||
IntPtr screenConfig = API.XRRGetScreenInfo(API.DefaultDisplay, API.XRootWindow(API.DefaultDisplay, screen));
|
||||
IntPtr screenConfig = API.XRRGetScreenInfo(API.DefaultDisplay, API.XRootWindow(API.DefaultDisplay, screen));
|
||||
ushort curRotation;
|
||||
int curResolutionIndex = API.XRRConfigCurrentConfiguration(screenConfig, out curRotation);
|
||||
float curRefreshRate = API.XRRConfigCurrentRate(screenConfig);
|
||||
|
Loading…
x
Reference in New Issue
Block a user