mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-23 21:38:22 +00:00
Change xcursor library name.
This commit is contained in:
parent
cf43b6003c
commit
cb5f354ddc
|
@ -1434,6 +1434,7 @@ XF86VidModeGetGammaRampSize(
|
||||||
internal static partial class Functions
|
internal static partial class Functions
|
||||||
{
|
{
|
||||||
internal const string X11Library = "libX11";
|
internal const string X11Library = "libX11";
|
||||||
|
internal const string XcursorLibrary = "libXcursor.so.1";
|
||||||
|
|
||||||
#region XCreateWindow
|
#region XCreateWindow
|
||||||
|
|
||||||
|
@ -1482,10 +1483,10 @@ XF86VidModeGetGammaRampSize(
|
||||||
|
|
||||||
#region Xcursor
|
#region Xcursor
|
||||||
|
|
||||||
[DllImport(X11Library)]
|
[DllImport(XcursorLibrary)]
|
||||||
internal static unsafe extern XcursorImage* XcursorImageCreate(int width, int height);
|
internal static unsafe extern XcursorImage* XcursorImageCreate(int width, int height);
|
||||||
|
|
||||||
[DllImport(X11Library)]
|
[DllImport(XcursorLibrary)]
|
||||||
internal static unsafe extern void XcursorImageDestroy(XcursorImage* image);
|
internal static unsafe extern void XcursorImageDestroy(XcursorImage* image);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue