]> git.sesse.net Git - vlc/blobdiff - modules/video_output/opengl.h
skins2: fix animated image flickering
[vlc] / modules / video_output / opengl.h
index a3f27f791c24782227ab71de961cbc5800287854..b01327e6ee9b280226b2a74c627a2a0ee1617afe 100644 (file)
@@ -26,6 +26,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef VLC_OPENGL_H
+#define VLC_OPENGL_H
+
 #include <vlc_common.h>
 #include <vlc_picture_pool.h>
 #include <vlc_opengl.h>
@@ -53,7 +56,7 @@
 # elif USE_OPENGL_ES == 1
 #  include <GLES/gl.h>
 # else
-#  ifdef WIN32
+#  ifdef _WIN32
 #   include <GL/glew.h>
 #   undef glClientActiveTexture
 #   undef glActiveTexture
@@ -90,3 +93,5 @@ int vout_display_opengl_Prepare(vout_display_opengl_t *vgl,
                                 picture_t *picture, subpicture_t *subpicture);
 int vout_display_opengl_Display(vout_display_opengl_t *vgl,
                                 const video_format_t *source);
+
+#endif