| 134 | } |
| 135 | |
| 136 | RectI PlatformWindowManagerSDL::getMonitorRect(U32 index) |
| 137 | { |
| 138 | SDL_Rect sdlRect; |
| 139 | if (0 != SDL_GetDisplayBounds(index, &sdlRect)) |
| 140 | { |
| 141 | Con::errorf("SDL_GetDisplayBounds() failed: %s", SDL_GetError()); |
| 142 | return RectI(0, 0, 0, 0); |
| 143 | } |
| 144 | |
| 145 | return RectI(sdlRect.x, sdlRect.y, sdlRect.w, sdlRect.h); |
| 146 | } |
| 147 | |
| 148 | RectI PlatformWindowManagerSDL::getMonitorUsableRect(U32 index) |
| 149 | { |
no test coverage detected