summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-15 16:19:01 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-15 16:19:01 +0000
commit0d2b624f1e24240a1c4e651aa1cfe9a8dd10a573 (patch)
treeb3a3e57584018df244f13ddba02d3caa377ee4ba
parent9603cc07eb6e04bec8aef6b4facf9865d9b9a479 (diff)
evas gl - make GLintptr etc. also ndefed for GL_VERSION_1_5 fix typedef
It seems that GL_VERSION_1_5 define == these provided by gl already. At least reading the mesa headers I do, so this should fix T7502 @fix
-rw-r--r--src/lib/evas/Evas_GL.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index b6b642400f..4f67b1695f 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -4272,9 +4272,11 @@ typedef signed int GLfixed; // Changed khronos_int32_t
4272 4272
4273#ifndef GL_ES_VERSION_2_0 4273#ifndef GL_ES_VERSION_2_0
4274/* GL types for handling large vertex buffer objects */ 4274/* GL types for handling large vertex buffer objects */
4275#include <stddef.h> 4275# ifndef GL_VERSION_1_5
4276# include <stddef.h>
4276typedef ptrdiff_t GLintptr; // Changed khronos_intptr_t 4277typedef ptrdiff_t GLintptr; // Changed khronos_intptr_t
4277typedef ptrdiff_t GLsizeiptr; // Changed khronos_ssize_t 4278typedef ptrdiff_t GLsizeiptr; // Changed khronos_ssize_t
4279# endif
4278#endif 4280#endif
4279 4281
4280/* Some definitions from GLES 3.0. 4282/* Some definitions from GLES 3.0.