mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-09 19:35:44 +00:00
Set GLXAttribute access to public.
This commit is contained in:
parent
5605b1fac2
commit
2f1e49c667
|
@ -17,7 +17,7 @@ namespace OpenTK.Platform.X11
|
||||||
{
|
{
|
||||||
#region Enums
|
#region Enums
|
||||||
|
|
||||||
enum GLXAttribute : int
|
public enum GLXAttribute : int
|
||||||
{
|
{
|
||||||
TRANSPARENT_BLUE_VALUE_EXT = 0x27,
|
TRANSPARENT_BLUE_VALUE_EXT = 0x27,
|
||||||
GRAY_SCALE = 0x8006,
|
GRAY_SCALE = 0x8006,
|
||||||
|
@ -364,7 +364,7 @@ namespace OpenTK.Platform.X11
|
||||||
|
|
||||||
[DllImport(Library, EntryPoint = "glXCreateContext")]
|
[DllImport(Library, EntryPoint = "glXCreateContext")]
|
||||||
public static extern IntPtr CreateContext(IntPtr dpy, ref XVisualInfo vis, IntPtr shareList, bool direct);
|
public static extern IntPtr CreateContext(IntPtr dpy, ref XVisualInfo vis, IntPtr shareList, bool direct);
|
||||||
|
|
||||||
[DllImport(Library, EntryPoint = "glXDestroyContext")]
|
[DllImport(Library, EntryPoint = "glXDestroyContext")]
|
||||||
public static extern void DestroyContext(IntPtr dpy, IntPtr context);
|
public static extern void DestroyContext(IntPtr dpy, IntPtr context);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue