aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 10:36:03 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 10:36:03 +0000
commite1db17e9f6af7281926078d81bf91f1ff650ee8a (patch)
treeda5467ab491465634d7270f0ea9fbfc697268591 /libvo
parent7b30c13eb9bc951b87de2bd0dff27e7bf37437a6 (diff)
fix black screen on linux, patch by Jindrich Makovicka
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10903 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 845de4fe5f..d345fcf7f8 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -819,7 +819,7 @@ static int initGl(uint32_t d_width, uint32_t d_height)
gl_bitmap_format_s, gl_bitmap_type_s, gl_alignment,
rgb_sz, r_sz, g_sz, b_sz, a_sz, gl_internal_format_s);
- resize(vo_dwidth, vo_dheight);
+ resize(d_width, d_height);
glClearColor( 0.0f,0.0f,0.0f,0.0f );
glClear( GL_COLOR_BUFFER_BIT );