Returns the aspect ratio of the physical screen
| 218 | |
| 219 | // Returns the aspect ratio of the physical screen |
| 220 | void rend_GetProjectionParameters(int *width, int *height) { |
| 221 | *width = gpu_state.clip_x2 - gpu_state.clip_x1; |
| 222 | *height = gpu_state.clip_y2 - gpu_state.clip_y1; |
| 223 | } |
| 224 | |
| 225 | void rend_GetProjectionScreenParameters(int &screenLX, int &screenTY, int &screenW, int &screenH) { |
| 226 | screenLX = gpu_state.clip_x1; |
no outgoing calls
no test coverage detected