diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-01 13:33:49 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-01 16:09:53 +0200 |
commit | fecfa0a01460a6c37b77f7d23849a53d83045baf (patch) | |
tree | ee7c017d3c4bf81e07302c5e305a660113314c1a /src/gui/opengl | |
parent | da7f4a4c7652f0c26b5492330e55936abf173c12 (diff) |
Fix define indentation in qopengl.h
Change-Id: I7894fcadf1a0abecbd8206abae1b035c823d52c4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r-- | src/gui/opengl/qopengl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/opengl/qopengl.h b/src/gui/opengl/qopengl.h index 995206f248..5c0885f4ec 100644 --- a/src/gui/opengl/qopengl.h +++ b/src/gui/opengl/qopengl.h @@ -109,12 +109,12 @@ typedef void* GLeglImageOES; # include <GLES3/gl3.h> # else # include <GLES2/gl2.h> -#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 <QtGui/qopengles2ext.h> -# endif // Q_OS_MAC +# endif #else // non-ES2 platforms -# if defined(Q_OS_MAC) +# if defined(Q_OS_MACOS) # include <OpenGL/gl.h> # define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED # include <OpenGL/gl3.h> @@ -144,7 +144,7 @@ typedef char GLchar; # include <GL/gl.h> # endif # include <QtGui/qopenglext.h> -# endif // Q_OS_MAC +# endif #endif // !QT_CONFIG(opengles2) // Desktops can support OpenGL 4. |