Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
SetScreenSize
Method · 0.45
adv_HardwareClip
Method · 0.45
olc_CoreUpdate
Method · 0.45
CreateGraphics
Method · 0.45
CreateGraphics
Method · 0.45
CreateGraphics
Method · 0.45
CreateGraphics
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected