equal
deleted
inserted
replaced
1209 // just avoid 'never used' compiler warning for now |
1209 // just avoid 'never used' compiler warning for now |
1210 if cGPUVendor = gvUnknown then cGPUVendor:= gvUnknown; |
1210 if cGPUVendor = gvUnknown then cGPUVendor:= gvUnknown; |
1211 {$ENDIF} |
1211 {$ENDIF} |
1212 |
1212 |
1213 // set view port to whole window |
1213 // set view port to whole window |
1214 if rotationQt = 0 then |
1214 if (rotationQt = 0) or (rotationQt = 180) then |
1215 glViewport(0, 0, cScreenWidth, cScreenHeight) |
1215 glViewport(0, 0, cScreenWidth, cScreenHeight) |
1216 else |
1216 else |
1217 glViewport(0, 0, cScreenHeight, cScreenWidth); |
1217 glViewport(0, 0, cScreenHeight, cScreenWidth); |
1218 |
1218 |
1219 glMatrixMode(GL_MODELVIEW); |
1219 glMatrixMode(GL_MODELVIEW); |