mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 567209. OSMesa rendering needs to be flipped. r=vlad
This commit is contained in:
parent
0d0fc7f160
commit
b7aae954cc
@ -195,6 +195,10 @@ public:
|
||||
|
||||
if (!MakeCurrent()) return PR_FALSE;
|
||||
if (!SetupLookupFunction()) return PR_FALSE;
|
||||
|
||||
// OSMesa's different from the other GL providers, it renders to an image surface, not to a pbuffer
|
||||
sOSMesaLibrary.fPixelStore(OSMESA_Y_UP, 0);
|
||||
|
||||
return InitWithPrefix("gl", PR_TRUE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user