Commit 1f36423a authored by pixhawk's avatar pixhawk

WIndows compile adjustments

parent d8ef1095
......@@ -483,7 +483,12 @@ Q3DWidget::initializeGL(void)
glEnable(GL_NORMALIZE);
// TODO: Added these, please check
// Fix for some platforms, e.g. windows
#ifndef GL_MULTISAMPLE
glEnable(0x809D);
#else
glEnable(GL_MULTISAMPLE);
#endif
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment