MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / IsVideoModeValid

Function IsVideoModeValid

deps/LLGL/sources/Renderer/RenderContext.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

SetVideoModeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected