| 258 | } |
| 259 | |
| 260 | int |
| 261 | GLWindow::currentHeight () |
| 262 | { |
| 263 | int width = 0; |
| 264 | int height = 0; |
| 265 | SDL_GL_GetDrawableSize (window, &width, &height); |
| 266 | if (height <= 0) |
| 267 | SDL_GetWindowSize (window, nullptr, &height); |
| 268 | return height; |
| 269 | } |
| 270 | |
| 271 | int |
| 272 | GLWindow::currentMode () |
no outgoing calls
no test coverage detected