MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / rend_TransformSetViewport

Function rend_TransformSetViewport

renderer/HardwareOpenGL.cpp:2157–2159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2155}
2156
2157void rend_TransformSetViewport(int lx, int ty, int width, int height) {
2158 dglViewport(lx, gpu_state.screen_height - (ty + height - 1), width, height);
2159}
2160
2161void rend_TransformSetProjection(float trans[4][4]) {
2162 dglMatrixMode(GL_PROJECTION);

Callers 1

g3_RefreshTransformsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected