diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/gl_common.c | 2 | ||||
-rw-r--r-- | libvo/vo_gl.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 9dc7f79242..60577ebb84 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -243,7 +243,7 @@ void releaseGlContext(int *vinfo, HGLRC *context) { } #else /** - * Returns the XVisualInfo associated with Window win. + * \brief Returns the XVisualInfo associated with Window win. * \param win Window whose XVisualInfo is returne. * \return XVisualInfo of the window. Caller must use XFree to free it. */ diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 079d3f1be0..e788a2765b 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -47,12 +47,17 @@ static int wsGLXAttrib[] = { GLX_RGBA, static int use_osd; static int scaled_osd; +//! How many parts the OSD may consist of at most #define MAX_OSD_PARTS 20 +//! Textures for OSD static GLuint osdtex[MAX_OSD_PARTS]; #ifndef FAST_OSD +//! Alpha textures for OSD static GLuint osdatex[MAX_OSD_PARTS]; #endif +//! Display lists that draw the OSD parts static GLuint osdDispList[MAX_OSD_PARTS]; +//! How many parts the OSD currently consists of static int osdtexCnt = 0; static int use_aspect; |