diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-19 07:13:32 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:41:06 +0300 |
commit | 6c9d09170d70df6e915b6e98906b7625c0c52c64 (patch) | |
tree | a331860b3ad6191fb5e583a722bb327c999602ed /libvo/gl_common.h | |
parent | 8ec90e5e4faba5754942c3dbc4edfc9f2b939a6a (diff) | |
download | mpv-6c9d09170d70df6e915b6e98906b7625c0c52c64.tar.bz2 mpv-6c9d09170d70df6e915b6e98906b7625c0c52c64.tar.xz |
vo_gl[2]: Rename conflicting vo_ontop macro
Rename the vo_ontop() macro to vo_gl_ontop(). It caused problems with
other changes because it conflicts with a global variable name (gl2
actually called vo_ontop() as a function and used vo_ontop as an int -
this only worked because vo_ontop was defined as a function-like macro
and use without parentheses didn't trigger replacement).
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 66fc2fe799..05d1bde862 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -284,14 +284,14 @@ void glDisableYUVConversion(GLenum target, int type); #ifdef GL_WIN32 #define vo_check_events() vo_w32_check_events() #define vo_fullscreen() vo_w32_fullscreen() -#define vo_ontop() vo_w32_ontop() +#define vo_gl_ontop() vo_w32_ontop() #define vo_uninit() vo_w32_uninit() int setGlWindow(int *vinfo, HGLRC *context, HWND win); void releaseGlContext(int *vinfo, HGLRC *context); #else #define vo_check_events() vo_x11_check_events(mDisplay) #define vo_fullscreen() vo_x11_fullscreen() -#define vo_ontop() vo_x11_ontop() +#define vo_gl_ontop() vo_x11_ontop() #define vo_uninit() vo_x11_uninit() int setGlWindow(XVisualInfo **vinfo, GLXContext *context, Window win); void releaseGlContext(XVisualInfo **vinfo, GLXContext *context); |