[MPlayer-cvslog] r38182 - trunk/libvo/gl_common.h

ib subversion at mplayerhq.hu
Tue Mar 3 12:15:22 EET 2020


Author: ib
Date: Tue Mar  3 12:15:22 2020
New Revision: 38182

Log:
Fix compilation of non-X11 OpenGL video output driver.

Patch by Stephen Sheldon, sfsheldo gmail com.

Modified:
   trunk/libvo/gl_common.h

Modified: trunk/libvo/gl_common.h
==============================================================================
--- trunk/libvo/gl_common.h	Fri Feb 21 09:54:35 2020	(r38181)
+++ trunk/libvo/gl_common.h	Tue Mar  3 12:15:22 2020	(r38182)
@@ -316,6 +316,8 @@ extern void (GLAPIENTRY *mpglTexImage3D)
 extern void* (GLAPIENTRY *mpglAllocateMemoryMESA)(void *, int, size_t, float, float, float);
 extern void (GLAPIENTRY *mpglFreeMemoryMESA)(void *, int, void *);
 
+#ifdef CONFIG_GL_X11
 extern XVisualInfo *gui_vinfo;
+#endif
 
 #endif /* MPLAYER_GL_COMMON_H */


More information about the MPlayer-cvslog mailing list