summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-25 12:45:57 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-25 12:45:57 +0000
commitf68be9741998e707d3ddc34a6db1674ed2c23915 (patch)
treecef019cea0919989982bfcb63f4d13aff0698492 /libvo/gl_common.h
parenta030e2fe1c23e81288b310fc552a6effc3d72647 (diff)
downloadmpv-f68be9741998e707d3ddc34a6db1674ed2c23915.tar.bz2
mpv-f68be9741998e707d3ddc34a6db1674ed2c23915.tar.xz
Fix texture format variable types. Internal format is GLint, others are GLenum
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16304 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 9d36e9f180..31792251c1 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -61,7 +61,7 @@ void glAdjustAlignment(int stride);
const char *glValName(GLint value);
-int glFindFormat(uint32_t format, uint32_t *bpp, GLenum *gl_texfmt,
+int glFindFormat(uint32_t format, uint32_t *bpp, GLint *gl_texfmt,
GLenum *gl_format, GLenum *gl_type);
int glFmt2bpp(GLenum format, GLenum type);
void glCreateClearTex(GLenum target, GLenum fmt, GLint filter,