mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 09:19:28 +00:00
Bug 1415754 - check the mHandle status before using in RenderDXGITextureHostOGL::EnsureLockable(). r=jgilbert
MozReview-Commit-ID: AkyStTSjS8F
This commit is contained in:
parent
de06fec4cc
commit
f0fef8ac17
@ -77,6 +77,10 @@ RenderDXGITextureHostOGL::EnsureLockable()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!mHandle) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Get gl texture handle from shared handle.
|
||||
EGLint pbufferAttributes[] = {
|
||||
LOCAL_EGL_WIDTH, mSize.width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user