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

Method SetVideoMode

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

Source from the content-addressed store, hash-verified

53}
54
55bool RenderContext::SetVideoMode(const VideoModeDescriptor& videoModeDesc)
56{
57 if (IsVideoModeValid(videoModeDesc))
58 {
59 if (videoModeDesc_ != videoModeDesc)
60 return SetVideoModePrimary(videoModeDesc);
61 else
62 return true;
63 }
64 return false;
65}
66
67bool RenderContext::SetVsync(const VsyncDescriptor& vsyncDesc)
68{

Callers 6

OnSetVideoModeMethod · 0.80
OnResizeMethod · 0.80
OnResizeMethod · 0.80
mainFunction · 0.80
OnResizeMethod · 0.80

Calls 1

IsVideoModeValidFunction · 0.85

Tested by 3

OnResizeMethod · 0.64
OnResizeMethod · 0.64
mainFunction · 0.64