View Full Version : QGLWidget Problems

2nd October 2006, 16:45
Does a QGLWidget have any constraint problems? I have a viewport with a height of about 8000 and the ortho is about 500. I have lines drawing every 7.5 ortho points, but the lines only draw up to about 2000 viewport coordinates. Does a QGLWidget not allow for a viewport of around 8000 pixels or what could be causing this problem? Thanks for your help!

2nd October 2006, 23:06
Some implementations of OpenGL do not support viewports > 2048. glGetIntegerv( GL_MAX_VIEWPORT_DIMS, &maxDim ) returns the maxiumum dimension of the viewport.