MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetHWTL

Function SetHWTL

engine/Poseidon/UI/OptionsUIImplVideo.cpp:56–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54{
55
56void SetHWTL(bool val)
57{
58 if (ENGINE_CONFIG.enableHWTL == val)
59 {
60 return;
61 }
62 ENGINE_CONFIG.enableHWTL = val;
63 if (!ENGINE_CONFIG.enableHWTL)
64 {
65 ::ReleaseVBuffers();
66 }
67 else
68 {
69 ::RestoreVBuffers();
70 }
71}
72
73// Video options display
74

Callers 1

OnButtonClickedMethod · 0.85

Calls 2

ReleaseVBuffersFunction · 0.85
RestoreVBuffersFunction · 0.85

Tested by

no test coverage detected