mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
1977864a3a
131 changed files with 6239 additions and 442 deletions
|
|
@ -144,7 +144,7 @@ RectTextureImage::DeleteTexture()
|
|||
void
|
||||
RectTextureImage::BindIOSurfaceToTexture(gl::GLContext* aGL)
|
||||
{
|
||||
if (!mTexture) {
|
||||
if (!mTexture && mIOSurface) {
|
||||
MOZ_ASSERT(aGL);
|
||||
aGL->fGenTextures(1, &mTexture);
|
||||
aGL->fActiveTexture(LOCAL_GL_TEXTURE0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue