Ticket #54649: gstglapi-switch-includes.diff
File gstglapi-switch-includes.diff, 1.2 KB (added by kencu (Ken), 7 years ago) |
---|
-
gst-libs/gst/gl/gstglapi.h
old new 30 30 #pragma GCC diagnostic ignored "-Wredundant-decls" 31 31 #endif 32 32 33 /* OpenGL 2.0 for Embedded Systems */34 #if GST_GL_HAVE_GLES235 # if GST_GL_HAVE_PLATFORM_EAGL36 # include <OpenGLES/ES2/gl.h>37 # include <OpenGLES/ES2/glext.h>38 # else39 # if GST_GL_HAVE_GLES340 # include <GLES3/gl3.h>41 # include <GLES3/gl3ext.h>42 # else43 # include <GLES2/gl2.h>44 # include <GLES2/gl2ext.h>45 # endif46 # endif47 # if !GST_GL_HAVE_OPENGL48 # include <gst/gl/glprototypes/gstgl_gles2compat.h>49 # endif50 #endif51 52 33 /* OpenGL for desktop systems */ 53 34 #if GST_GL_HAVE_OPENGL 54 35 # ifdef __APPLE__ … … 69 50 # endif 70 51 #endif 71 52 53 /* OpenGL 2.0 for Embedded Systems */ 54 #if GST_GL_HAVE_GLES2 55 # if GST_GL_HAVE_PLATFORM_EAGL 56 # include <OpenGLES/ES2/gl.h> 57 # include <OpenGLES/ES2/glext.h> 58 # else 59 # if GST_GL_HAVE_GLES3 60 # include <GLES3/gl3.h> 61 # include <GLES3/gl3ext.h> 62 # else 63 # include <GLES2/gl2.h> 64 # include <GLES2/gl2ext.h> 65 # endif 66 # endif 67 # if !GST_GL_HAVE_OPENGL 68 # include <gst/gl/glprototypes/gstgl_gles2compat.h> 69 # endif 70 #endif 71 72 72 #ifdef __GNUC__ 73 73 #pragma GCC diagnostic pop 74 74 #endif