summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl2.c')
-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 );