From 2f1e49c66707896861646f701017c8db849bc88a Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Sun, 25 Jun 2017 13:44:01 +0200 Subject: [PATCH] Set GLXAttribute access to public. --- src/OpenTK/Platform/X11/Bindings/Glx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenTK/Platform/X11/Bindings/Glx.cs b/src/OpenTK/Platform/X11/Bindings/Glx.cs index aa03e91d..4bc2e0aa 100644 --- a/src/OpenTK/Platform/X11/Bindings/Glx.cs +++ b/src/OpenTK/Platform/X11/Bindings/Glx.cs @@ -17,7 +17,7 @@ namespace OpenTK.Platform.X11 { #region Enums - enum GLXAttribute : int + public enum GLXAttribute : int { TRANSPARENT_BLUE_VALUE_EXT = 0x27, GRAY_SCALE = 0x8006, @@ -364,7 +364,7 @@ namespace OpenTK.Platform.X11 [DllImport(Library, EntryPoint = "glXCreateContext")] public static extern IntPtr CreateContext(IntPtr dpy, ref XVisualInfo vis, IntPtr shareList, bool direct); - + [DllImport(Library, EntryPoint = "glXDestroyContext")] public static extern void DestroyContext(IntPtr dpy, IntPtr context);