summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglframebufferobject_p.h
diff options
context:
space:
mode:
authorKai Köhne <[email protected]>2022-06-10 17:34:41 +0200
committerKai Köhne <[email protected]>2022-06-15 21:31:02 +0200
commit9d2cc4dd766ca6538e17040b6ac845ed880ab0fe (patch)
treea674c1f10c2bb266b2cff88ef3d6d864ed932212 /src/opengl/qopenglframebufferobject_p.h
parent37bad1f43b33a460f402f16280719d3b49dd7b24 (diff)
Fix typos in docs and comments
Found by codespell Pick-to: 6.4 Change-Id: Ie3e301a23830c773a2e9aff487c702a223d246eb Reviewed-by: Nicholas Bennett <[email protected]> Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/opengl/qopenglframebufferobject_p.h')
-rw-r--r--src/opengl/qopenglframebufferobject_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglframebufferobject_p.h b/src/opengl/qopenglframebufferobject_p.h
index d5614bbc658..d6c95f53de0 100644
--- a/src/opengl/qopenglframebufferobject_p.h
+++ b/src/opengl/qopenglframebufferobject_p.h
@@ -34,8 +34,8 @@ public:
{
#if !QT_CONFIG(opengles2)
// There is nothing that says QOpenGLFramebufferObjectFormat needs a current
- // context, so we need a fallback just to be safe, even though in pratice there
- // will usually be a context current.
+ // context, so we need a fallback just to be safe, even though in practice there
+ // will usually be a current context.
QOpenGLContext *ctx = QOpenGLContext::currentContext();
const bool isES = ctx ? ctx->isOpenGLES() : QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGL;
internal_format = isES ? GL_RGBA : GL_RGBA8;