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

Function UpdateViewport

olcPixelGameEngine.h:6327–6330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6325 }
6326
6327 void UpdateViewport(const olc::vi2d& pos, const olc::vi2d& size) override
6328 {
6329 glViewport(pos.x, pos.y, size.x, size.y);
6330 }
6331
6332 void Set3DProjection(const std::array<float, 16>& mat)
6333 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected