зеркало из https://github.com/mozilla/gecko-dev.git
Bleh, forgot to qref, still fixing bug 1037100. r=bustage
This commit is contained in:
Родитель
1b5c950fe4
Коммит
6508a03596
|
@ -223,7 +223,7 @@ SharedSurface_Gralloc::Fence()
|
|||
if (gfxPrefs::GrallocFenceWithReadPixels()) {
|
||||
mGL->MakeCurrent();
|
||||
UniquePtr<char[]> buf = MakeUnique<char[]>(4);
|
||||
mGL->fReadPixels(0, 0, 1, 1, LOCAL_GL_RGBA, LOCAL_GL_UNSIGNED_BYTE, buf);
|
||||
mGL->fReadPixels(0, 0, 1, 1, LOCAL_GL_RGBA, LOCAL_GL_UNSIGNED_BYTE, buf.get());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче