summarylogtreecommitdiffstats
path: root/egl+glx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'egl+glx.patch')
-rw-r--r--egl+glx.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/egl+glx.patch b/egl+glx.patch
index 4ff99d1ed70a..634690164aab 100644
--- a/egl+glx.patch
+++ b/egl+glx.patch
@@ -1,7 +1,7 @@
--- a/src/glew.c
+++ b/src/glew.c
@@ -36,11 +36,13 @@
- #include GLEW_INCLUDE
+ # include GLEW_INCLUDE
#endif
+#if defined(GLEW_EGL)
@@ -74,7 +74,7 @@
#endif
/*
-@@ -17358,9 +17373,7 @@
+@@ -19297,9 +19312,7 @@
}
@@ -85,7 +85,7 @@
PFNEGLCHOOSECONFIGPROC __eglewChooseConfig = NULL;
PFNEGLCOPYBUFFERSPROC __eglewCopyBuffers = NULL;
-@@ -18350,8 +18363,8 @@
+@@ -20490,8 +20503,8 @@
PFNEGLQUERYSTRINGPROC queryString = NULL;
/* Load necessary entry points */
@@ -96,7 +96,7 @@
if (!initialize || !queryString)
return 1;
-@@ -18804,7 +18817,9 @@
+@@ -21029,7 +21042,9 @@
return GLEW_OK;
}
@@ -107,7 +107,7 @@
PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
-@@ -20862,13 +20877,26 @@
+@@ -23105,13 +23120,26 @@
GLenum r;
#if defined(GLEW_EGL)
PFNEGLGETCURRENTDISPLAYPROC getCurrentDisplay = NULL;
@@ -137,7 +137,7 @@
return r;
#elif defined(_WIN32)
return wglewInit();
-@@ -26623,7 +26651,7 @@
+@@ -29785,7 +29813,7 @@
return ret;
}
@@ -146,7 +146,7 @@
GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
{
-@@ -27059,7 +27087,7 @@
+@@ -30228,7 +30256,7 @@
return ret;
}
@@ -155,7 +155,7 @@
GLboolean glxewIsSupported (const char* name)
{
-@@ -27615,7 +27643,9 @@
+@@ -30805,7 +30833,9 @@
return ret;
}