From e1db17e9f6af7281926078d81bf91f1ff650ee8a Mon Sep 17 00:00:00 2001 From: faust3 Date: Sun, 21 Sep 2003 10:36:03 +0000 Subject: fix black screen on linux, patch by Jindrich Makovicka git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10903 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') 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 ); -- cgit v1.2.3