Bug 567209. OSMesa rendering needs to be flipped. r=vlad

This commit is contained in:
Benoit Jacob 2010-05-24 09:36:49 +12:00
parent 0d0fc7f160
commit b7aae954cc

View File

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