From 69dbdb7d67c76c1a5c760f80ed93989df93e645c Mon Sep 17 00:00:00 2001 From: thefiddler Date: Thu, 26 Jun 2014 21:51:01 +0200 Subject: [PATCH] [KMS] Fixed Gbm.DestroyDevice entry point --- Source/OpenTK/Platform/Linux/Bindings/Gbm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/Linux/Bindings/Gbm.cs b/Source/OpenTK/Platform/Linux/Bindings/Gbm.cs index 05e1ffd..efde6e8 100644 --- a/Source/OpenTK/Platform/Linux/Bindings/Gbm.cs +++ b/Source/OpenTK/Platform/Linux/Bindings/Gbm.cs @@ -65,7 +65,7 @@ namespace OpenTK.Platform.Linux [DllImport(lib, EntryPoint = "gbm_create_device", CallingConvention = CallingConvention.Cdecl)] public static extern Device CreateDevice(int fd); - [DllImport(lib, EntryPoint = "gbm_destroy_device", CallingConvention = CallingConvention.Cdecl)] + [DllImport(lib, EntryPoint = "gbm_device_destroy", CallingConvention = CallingConvention.Cdecl)] public static extern void DestroyDevice(Device gbm); [DllImport(lib, EntryPoint = "gbm_device_get_fd", CallingConvention = CallingConvention.Cdecl)] -- 2.7.4