summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-14 13:44:14 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-14 13:44:14 +0000
commit698494f77958dc33b10c42ffcabffdac1f2a5e1f (patch)
tree2a4c42bb6fb7bc8690a1f4872a67b230373e9f11 /libvo/gl_common.h
parent3cf870e26bcd7cd0e03c8d170cf34ee7bd0409ab (diff)
downloadmpv-698494f77958dc33b10c42ffcabffdac1f2a5e1f.tar.bz2
mpv-698494f77958dc33b10c42ffcabffdac1f2a5e1f.tar.xz
Helper function for drawing texture and general cleanup of vo_gl2.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16215 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index e4e442b3c6..b2368f56d1 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -66,6 +66,9 @@ void glCreateClearTex(GLenum target, GLenum fmt, GLint filter,
void glUploadTex(GLenum target, GLenum format, GLenum type,
const char *data, int stride,
int x, int y, int w, int h, int slice);
+void glDrawTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h,
+ GLfloat tx, GLfloat ty, GLfloat tw, GLfloat th,
+ int sx, int sy, int rect_tex);
//! could not set new window, will continue drawing into the old one.
#define SET_WINDOW_FAILED -1