StelQGLViewport.hpp   StelQGLViewport.hpp 
skipping to change at line 108 skipping to change at line 108
, backBuffer(NULL) , backBuffer(NULL)
, drawing(false) , drawing(false)
, usingGLWidgetPainter(false) , usingGLWidgetPainter(false)
, fboSupported(false) , fboSupported(false)
, fboDisabled(false) , fboDisabled(false)
, nonPowerOfTwoTexturesSupported(false) , nonPowerOfTwoTexturesSupported(false)
{ {
// Forces glWidget to initialize GL. // Forces glWidget to initialize GL.
glWidget->updateGL(); glWidget->updateGL();
#ifdef _MSC_BUILD
glEnable(GL_MULTISAMPLE);
glEnable(GL_LINE_SMOOTH);
#endif
// Qt GL2 paint engine does some FBO magic depending // Qt GL2 paint engine does some FBO magic depending
// on glBlendFunc having a particular value. I wasn't able // on glBlendFunc having a particular value. I wasn't able
// to figure out what value it was, so another workaround // to figure out what value it was, so another workaround
// was to not use FBOs ourselves. // was to not use FBOs ourselves.
// Not sure _why exactly_ this helps though. // Not sure _why exactly_ this helps though.
// //
// TODO // TODO
// If Qt is newer than 4.0, try removing this if - // If Qt is newer than 4.0, try removing this if -
// FBOs are an important feature so we want to use it // FBOs are an important feature so we want to use it
// if the Qt people cleaned up their mess. // if the Qt people cleaned up their mess.
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/