mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
fix black screen on linux, patch by Jindrich Makovicka
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10903 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7b30c13eb9
commit
e1db17e9f6
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user