Commit 6391f641 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

opengl: Move includes at the begining.

parent 1051d06d
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
#ifdef __APPLE__ #ifdef __APPLE__
# include <OpenGL/gl.h> # include <OpenGL/gl.h>
# include <OpenGL/glext.h> # include <OpenGL/glext.h>
#else
# include <GL/gl.h>
#endif #endif
#ifndef YCBCR_MESA #ifndef YCBCR_MESA
...@@ -67,7 +69,6 @@ ...@@ -67,7 +69,6 @@
# define VLCGL_TYPE GL_UNSIGNED_SHORT_8_8_APPLE # define VLCGL_TYPE GL_UNSIGNED_SHORT_8_8_APPLE
#else #else
# include <GL/gl.h>
# define VLCGL_TARGET GL_TEXTURE_2D # define VLCGL_TARGET GL_TEXTURE_2D
/* RV32 */ /* RV32 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment