--- video/out/opengl/common.c.orig
+++ video/out/opengl/common.c
@@ -277,7 +277,6 @@ static const struct gl_functions gl_func
             {0}
         },
     },
-#endif
     {
         .ver_core = 330,
         .extension = "GL_ARB_timer_query",
@@ -311,6 +310,7 @@ static const struct gl_functions gl_func
             {0}
         },
     },
+#endif
     {
         .ver_core = 430,
         .ver_es_core = 300,
