mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixing bustage
This commit is contained in:
parent
f3ea04af03
commit
a8f155672f
@ -180,7 +180,8 @@ CanvasLayerOGL::Updated(const nsIntRect& aRect)
|
||||
}
|
||||
} else if (mCanvasGLContext) {
|
||||
// we just need to create a texture that we'll use, the first time through
|
||||
if (mTexture == 0) {
|
||||
PRBool newTexture = mTexture == 0;
|
||||
if (newTexture) {
|
||||
gl()->fGenTextures(1, (GLuint*)&mTexture);
|
||||
|
||||
gl()->fBindTexture(LOCAL_GL_TEXTURE_2D, mTexture);
|
||||
|
Loading…
Reference in New Issue
Block a user