diff --git a/src/video_output/opengl.c b/src/video_output/opengl.c
index c288fd83b429dfeaabdef4432dfacc96650e5c80..5057b2b458867d238dd0525ba39479ae8a5bf522 100644
--- a/src/video_output/opengl.c
+++ b/src/video_output/opengl.c
@@ -36,7 +36,7 @@ struct vlc_gl_priv_t
     vlc_gl_t gl;
     vlc_atomic_rc_t rc;
 };
-#undef vlc_gl_Create
+
 /**
  * Creates an OpenGL context (and its underlying surface).
  *