it seems a variable called float aspect becomes a NaN after a division by zero
it seems this piece of code is returning some weird values (probably uninitialized memory) on simulator
ofRectangle ofGLRenderer::getNativeViewport() const {
GLint viewport[4]; // Where The Viewport Values Will Be Stored
glGetIntegerv(GL_VIEWPORT, viewport);
it seems glGetIntegerv(GL_VIEWPORT, viewport); and it is not changing values in array
returning one arbitrary rectangle
steps to reproduce:
just test an empty project on simulator
it seems a variable called
float aspect
becomes a NaN after a division by zero it seems this piece of code is returning some weird values (probably uninitialized memory) on simulatorit seems
glGetIntegerv(GL_VIEWPORT, viewport);
and it is not changing values in array returning one arbitrary rectanglesteps to reproduce: just test an empty project on simulator