mirror of https://github.com/mpv-player/mpv
Remove now unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23668 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
db9f690747
commit
92542f710b
|
@ -93,7 +93,6 @@ struct TexSquare
|
||||||
GLubyte *texture;
|
GLubyte *texture;
|
||||||
GLuint texobj;
|
GLuint texobj;
|
||||||
GLuint uvtexobjs[2];
|
GLuint uvtexobjs[2];
|
||||||
int isTexture;
|
|
||||||
GLfloat fx, fy, fw, fh;
|
GLfloat fx, fy, fw, fh;
|
||||||
int isDirty;
|
int isDirty;
|
||||||
int dirtyXoff, dirtyYoff, dirtyWidth, dirtyHeight;
|
int dirtyXoff, dirtyYoff, dirtyWidth, dirtyHeight;
|
||||||
|
@ -248,7 +247,6 @@ static int initTextures(void)
|
||||||
tsq->fh = texpercy;
|
tsq->fh = texpercy;
|
||||||
|
|
||||||
tsq->isDirty=GL_FALSE;
|
tsq->isDirty=GL_FALSE;
|
||||||
tsq->isTexture=GL_FALSE;
|
|
||||||
tsq->texobj=0;
|
tsq->texobj=0;
|
||||||
tsq->uvtexobjs[0] = tsq->uvtexobjs[1] = 0;
|
tsq->uvtexobjs[0] = tsq->uvtexobjs[1] = 0;
|
||||||
tsq->dirtyXoff=0; tsq->dirtyYoff=0; tsq->dirtyWidth=-1; tsq->dirtyHeight=-1;
|
tsq->dirtyXoff=0; tsq->dirtyYoff=0; tsq->dirtyWidth=-1; tsq->dirtyHeight=-1;
|
||||||
|
@ -264,7 +262,6 @@ static int initTextures(void)
|
||||||
glBindTexture (GL_TEXTURE_2D, tsq->uvtexobjs[1]);
|
glBindTexture (GL_TEXTURE_2D, tsq->uvtexobjs[1]);
|
||||||
ActiveTexture(GL_TEXTURE0);
|
ActiveTexture(GL_TEXTURE0);
|
||||||
}
|
}
|
||||||
tsq->isTexture=GL_TRUE;
|
|
||||||
|
|
||||||
glCreateClearTex(GL_TEXTURE_2D, gl_internal_format, GL_LINEAR,
|
glCreateClearTex(GL_TEXTURE_2D, gl_internal_format, GL_LINEAR,
|
||||||
texture_width, texture_height, 0);
|
texture_width, texture_height, 0);
|
||||||
|
|
Loading…
Reference in New Issue