diff --git a/src/gui/opengl/qopengl.h b/src/gui/opengl/qopengl.h index 995206f2481..5c0885f4ec4 100644 --- a/src/gui/opengl/qopengl.h +++ b/src/gui/opengl/qopengl.h @@ -109,12 +109,12 @@ typedef void* GLeglImageOES; # include # else # include -#endif +# endif # ifdef QGL_TEMP_GLEXT_PROTO # undef GL_GLEXT_PROTOTYPES # undef QGL_TEMP_GLEXT_PROTO -# endif +# endif /* Some GLES2 implementations (like the one on Harmattan) are missing the @@ -125,9 +125,9 @@ typedef void* GLeglImageOES; typedef char GLchar; # include -# endif // Q_OS_MAC +# endif #else // non-ES2 platforms -# if defined(Q_OS_MAC) +# if defined(Q_OS_MACOS) # include # define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED # include @@ -144,7 +144,7 @@ typedef char GLchar; # include # endif # include -# endif // Q_OS_MAC +# endif #endif // !QT_CONFIG(opengles2) // Desktops can support OpenGL 4.