diff options
author | Bernd Weimer <bernd.weimer@qt.io> | 2024-04-09 09:03:23 +0200 |
---|---|---|
committer | Bernd Weimer <bernd.weimer@qt.io> | 2024-04-11 08:39:55 +0200 |
commit | ea5772e8aaefe8139d50ed51d50a2224d1d52fd7 (patch) | |
tree | 90f7ab61dd3e6108d0056d5345c3d4c97167a248 /src | |
parent | 7c5a270a6d9cba99dd692ca2bd12a1a50ca865b1 (diff) |
Fix out variable in external shader
Output variable gl_FragColor wasn't declared due to a copy-paste error.
Pick-to: 6.7 6.6 6.5
Change-Id: I0732953143d9a2315d430e57d8e1a92cca87f542
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem.cpp b/src/compositor/compositor_api/qwaylandquickitem.cpp index c30356fb3..c643598be 100644 --- a/src/compositor/compositor_api/qwaylandquickitem.cpp +++ b/src/compositor/compositor_api/qwaylandquickitem.cpp @@ -157,9 +157,9 @@ void QWaylandBufferMaterialShader::setupExternalOESShader(const QString &shaderF descData->inVars = { texCoordInput }; QShaderDescription::InOutVariable fragColorOutput; - texCoordInput.name = "gl_FragColor"; - texCoordInput.type = QShaderDescription::Vec4; - texCoordInput.location = 0; + fragColorOutput.name = "gl_FragColor"; + fragColorOutput.type = QShaderDescription::Vec4; + fragColorOutput.location = 0; descData->outVars = { fragColorOutput }; |