Bleh, forgot to qref, still fixing bug 1037100. r=bustage

This commit is contained in:
Jeff Walden 2014-07-11 21:05:59 -07:00
Родитель 1b5c950fe4
Коммит 6508a03596
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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());
}
}