--- dlls/d3d8/device.dx21 2003-05-13 22:47:40.000000000 +0100 +++ dlls/d3d8/device.c 2003-05-13 23:39:14.000000000 +0100 @@ -2331,8 +2331,9 @@ glDepthRange(pViewport->MinZ, pViewport->MaxZ); checkGLcall("glDepthRange"); - /* Fixme? Note GL requires lower left, DirectX supplies upper left */ - glViewport(pViewport->X, pViewport->Y, pViewport->Width, pViewport->Height); + /* Note: GL requires lower left, DirectX supplies upper left */ + glViewport(pViewport->X, (This->PresentParms.BackBufferHeight - (pViewport->Y + pViewport->Height)), + pViewport->Width, pViewport->Height); checkGLcall("glViewport");