зеркало из https://github.com/mozilla/pjs.git
Bug 735230 - Part 4: Don't call MakeCurrent with a context and without a surface. r=gw280
This commit is contained in:
Родитель
f4bd3540fd
Коммит
e95a97b025
|
@ -434,7 +434,7 @@ public:
|
|||
// but we will be able to do things like resource releases.
|
||||
succeeded = sEGLLibrary.fMakeCurrent(EGL_DISPLAY(),
|
||||
EGL_NO_SURFACE, EGL_NO_SURFACE,
|
||||
mContext);
|
||||
EGL_NO_CONTEXT);
|
||||
if (!succeeded && sEGLLibrary.fGetError() == LOCAL_EGL_CONTEXT_LOST) {
|
||||
mContextLost = true;
|
||||
NS_WARNING("EGL context has been lost.");
|
||||
|
|
Загрузка…
Ссылка в новой задаче