mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
No Issue - Fix intermitted crash on MacOS 14 Sonoma Beta 3. Not sure why this is happening but mIOSurface is nullptr. If we just skip binding, it will be created on the next call to BeginUpdate.
This commit is contained in:
parent
15115c97fd
commit
0fc38724d1
1 changed files with 1 additions and 1 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