summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-06 22:23:06 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-06 22:23:06 +0000
commit6b9f08f720b23739e0ff7c9e3dbdf1f97e7867dd (patch)
treebf40d4cb0ede4c06bf4ece4a38c2f9bfa4b7b5db /libvo/gl_common.h
parent33d32ef1933c5b71618db26a1e202a902d7f80e2 (diff)
downloadmpv-6b9f08f720b23739e0ff7c9e3dbdf1f97e7867dd.tar.bz2
mpv-6b9f08f720b23739e0ff7c9e3dbdf1f97e7867dd.tar.xz
Get rid of most #ifdefs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17117 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index ca8399c5fa..29564f6a3d 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -231,12 +231,21 @@ void inline 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_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_uninit() vo_x11_uninit()
int setGlWindow(XVisualInfo **vinfo, GLXContext *context, Window win);
void releaseGlContext(XVisualInfo **vinfo, GLXContext *context);
#endif
+void swapGlBuffers();
extern void (APIENTRY *GenBuffers)(GLsizei, GLuint *);
extern void (APIENTRY *DeleteBuffers)(GLsizei, const GLuint *);