1
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 19:37:30 +01:00

Properly initialize osdtexCnt

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16398 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-09-05 10:08:04 +00:00
parent 3561e3a980
commit 6220c8e924

View File

@ -150,6 +150,7 @@ static int initGl(uint32_t d_width, uint32_t d_height) {
glClear( GL_COLOR_BUFFER_BIT );
if (SwapInterval && swap_interval >= 0)
SwapInterval(swap_interval);
osdtexCnt = 0;
gl_buffer = 0;
gl_buffersize = 0;
err_shown = 0;