summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.c
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/vo_gl2.c
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/vo_gl2.c')
-rw-r--r--libvo/vo_gl2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 4af5a4a9aa..ac405a8960 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -64,8 +64,8 @@ static int texnumx, texnumy, raw_line_len;
static struct TexSquare * texgrid = NULL;
static GLint gl_internal_format;
static int rgb_sz, r_sz, g_sz, b_sz, a_sz;
-static GLint gl_bitmap_format;
-static GLint gl_bitmap_type;
+static GLenum gl_bitmap_format;
+static GLenum gl_bitmap_type;
static int isGL12 = GL_FALSE;
static int gl_bilinear=1;