MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / UpdateViewport

Method UpdateViewport

olcPixelGameEngine.h:5737–5740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5735 }
5736
5737 void UpdateViewport(const olc::vi2d& pos, const olc::vi2d& size) override
5738 {
5739 glViewport(pos.x, pos.y, size.x, size.y);
5740 }
5741 };
5742}
5743#endif

Callers 7

SetScreenSizeMethod · 0.45
adv_HardwareClipMethod · 0.45
olc_CoreUpdateMethod · 0.45
CreateGraphicsMethod · 0.45
CreateGraphicsMethod · 0.45
CreateGraphicsMethod · 0.45
CreateGraphicsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected