mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-10 11:47:23 +00:00
Do not free XRRScreenSize pointer in XRRSizes.
This commit is contained in:
parent
0a61071ab5
commit
daba18ac5d
|
@ -1357,7 +1357,7 @@ XF86VidModeGetGammaRampSize(
|
||||||
array[i] = (XRRScreenSize)Marshal.PtrToStructure((IntPtr)data, typeof(XRRScreenSize));
|
array[i] = (XRRScreenSize)Marshal.PtrToStructure((IntPtr)data, typeof(XRRScreenSize));
|
||||||
data += Marshal.SizeOf(typeof(XRRScreenSize));
|
data += Marshal.SizeOf(typeof(XRRScreenSize));
|
||||||
}
|
}
|
||||||
XFree(ptr);
|
//XFree(ptr); // Looks like we must not free this.
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue