| 487 | bool needsautoscreenshot = false; |
| 488 | |
| 489 | void updatescreensize() |
| 490 | { |
| 491 | SDL_GetWindowSize(screen, &screenw, &screenh); |
| 492 | if(screenh < 1) screenh = 1; |
| 493 | VIRTW = screenw * VIRTH / screenh; |
| 494 | glViewport(0, 0, screenw, screenh); |
| 495 | } |
| 496 | |
| 497 | void screenres(int w, int h) |
| 498 | { |
no outgoing calls
no test coverage detected