summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches/patch-src_glx_apple_apple__glapi.c
blob: 6e538e67aa5279f087d686dfcb6c8328c543e7be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-src_glx_apple_apple__glapi.c,v 1.1 2015/09/27 21:58:03 tnn Exp $

https://bugs.freedesktop.org/show_bug.cgi?id=90311
See also hacks.mk.

--- src/glx/apple/apple_glapi.c.orig	2015-08-07 17:36:03.000000000 +0000
+++ src/glx/apple/apple_glapi.c
@@ -39,6 +39,7 @@
 #include <GL/gl.h>
 
 #include "main/glheader.h"
+#include "main/remap.h"
 #include "glapi.h"
 #include "glapitable.h"
 #include "main/dispatch.h"
@@ -54,6 +55,8 @@ static void _apple_glapi_create_table(vo
     if (__applegl_api)
         return;
 
+    _mesa_init_remap_table(); 
+
     __ogl_framework_api = _glapi_create_table_from_handle(apple_cgl_get_dl_handle(), "gl");
     assert(__ogl_framework_api);