| 48 | /* ----- Configuration ----- */ |
| 49 | |
| 50 | static bool IsVideoModeValid(const VideoModeDescriptor& videoModeDesc) |
| 51 | { |
| 52 | return (videoModeDesc.resolution.width > 0 && videoModeDesc.resolution.height > 0 && videoModeDesc.swapChainSize > 0); |
| 53 | } |
| 54 | |
| 55 | bool RenderContext::SetVideoMode(const VideoModeDescriptor& videoModeDesc) |
| 56 | { |