mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
--HG-- extra : rebase_source : b2108d17ef5d87328d1dc0e9ff190d667bfeaa44
This commit is contained in:
parent
fae8de55c2
commit
84e303ee7e
@ -450,10 +450,8 @@ SurfaceTextureSource::BindTexture(GLenum aTextureUnit, gfx::Filter aFilter)
|
||||
NS_WARNING("Trying to bind a texture without a GLContext");
|
||||
return;
|
||||
}
|
||||
GLuint tex = mCompositor->GetTemporaryTexture(GetTextureTarget(), aTextureUnit);
|
||||
|
||||
gl()->fActiveTexture(aTextureUnit);
|
||||
gl()->fBindTexture(mTextureTarget, tex);
|
||||
#ifndef DEBUG
|
||||
// SurfaceTexture spams us if there are any existing GL errors, so
|
||||
// we'll clear them here in order to avoid that.
|
||||
|
Loading…
Reference in New Issue
Block a user