summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 13:34:55 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 13:34:55 +0000
commit4f6a65ef4e4d0669eeda9d6d39373885e3c47329 (patch)
tree246956d10f04060a34202601f6cd77500d0a9a3b /libvo/gl_common.h
parent42eecb4f1b879a85bc93ef5b45eeed21326359bb (diff)
downloadmpv-4f6a65ef4e4d0669eeda9d6d39373885e3c47329.tar.bz2
mpv-4f6a65ef4e4d0669eeda9d6d39373885e3c47329.tar.xz
Avoid void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21217 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 775adf2158..982d5551b7 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -212,7 +212,7 @@ void glCreateClearTex(GLenum target, GLenum fmt, GLint filter,
int glCreatePPMTex(GLenum target, GLenum fmt, GLint filter,
FILE *f, int *width, int *height, int *maxval);
void glUploadTex(GLenum target, GLenum format, GLenum type,
- const void *data, int stride,
+ const void *dataptr, 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,