mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 20:55:37 +00:00
Do not free XRRScreenSize pointer in XRRSizes.
This commit is contained in:
parent
a41007fd80
commit
5232e0a3b2
|
@ -1357,7 +1357,7 @@ XF86VidModeGetGammaRampSize(
|
|||
array[i] = (XRRScreenSize)Marshal.PtrToStructure((IntPtr)data, typeof(XRRScreenSize));
|
||||
data += Marshal.SizeOf(typeof(XRRScreenSize));
|
||||
}
|
||||
XFree(ptr);
|
||||
//XFree(ptr); // Looks like we must not free this.
|
||||
return array;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue