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

Method SetVsync

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

Source from the content-addressed store, hash-verified

65}
66
67bool RenderContext::SetVsync(const VsyncDescriptor& vsyncDesc)
68{
69 if (vsyncDesc_ != vsyncDesc)
70 {
71 /* Call primary V-sync function */
72 if (OnSetVsync(vsyncDesc))
73 {
74 vsyncDesc_ = vsyncDesc;
75 return true;
76 }
77 return false;
78 }
79 return true;
80}
81
82
83/*

Callers 3

OnSetVsyncMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64