mirror of https://github.com/mpv-player/mpv
remove useless zero-initialization code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19939 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0ba8cc2972
commit
0c8fc56f34
|
@ -307,9 +307,6 @@ static void uninitGl(void) {
|
||||||
* set global gl-related variables to their default values
|
* set global gl-related variables to their default values
|
||||||
*/
|
*/
|
||||||
static int initGl(uint32_t d_width, uint32_t d_height) {
|
static int initGl(uint32_t d_width, uint32_t d_height) {
|
||||||
osdtexCnt = 0; gl_buffer = 0; gl_buffersize = 0; err_shown = 0;
|
|
||||||
eosdtexCnt = 0;
|
|
||||||
fragprog = 0;
|
|
||||||
texSize(image_width, image_height, &texture_width, &texture_height);
|
texSize(image_width, image_height, &texture_width, &texture_height);
|
||||||
|
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
|
|
Loading…
Reference in New Issue