mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 567209. OSMesa rendering needs to be flipped. r=vlad
This commit is contained in:
parent
3a52454889
commit
58619e4355
@ -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