MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Resize

Method Resize

GTE/Graphics/GL46/GL46Engine.cpp:917–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917bool GL46Engine::Resize(uint32_t w, uint32_t h)
918{
919 mXSize = w;
920 mYSize = h;
921 int32_t param[4];
922 glGetIntegerv(GL_VIEWPORT, param);
923 glViewport(param[0], param[1], static_cast<GLint>(w), static_cast<GLint>(h));
924 return true;
925}
926
927void GL46Engine::ClearColorBuffer()
928{

Callers 2

OnResizeMethod · 0.45
OnResizeMethod · 0.45

Calls 2

glGetIntegervFunction · 0.85
glViewportFunction · 0.85

Tested by

no test coverage detected