diff options
author | Alexander Hulander <alexander.hulander@evoma.se> | 2024-04-24 14:07:04 +0200 |
---|---|---|
committer | Alexander Hulander <alexander.hulander@evoma.se> | 2024-05-24 12:08:37 +0200 |
commit | 5303a4fec49746b78a7d251e82560aa64e773624 (patch) | |
tree | 18039f46589c1fba0d145120d2d5a6b0d47335c4 /tests/manual/transforms-qml | |
parent | 0dca3797e78f92fe55239413921a6cafee28556e (diff) |
Rename QText2DMaterial uniform
Update the uniform name "textureSize" to "textureWidth" to avoid
name conflict with the glsl function textureSize.
This solves an issue where the shader transpiler mangles the
uniform name into "_textureSize" when using the RHI renderer with
the OpenGL backend. Causing the uniform to never be initialized
with the expected value and resulting in "jaggy" text.
Fixes: QTBUG-124708
Pick-to: 6.7
Change-Id: Ibe4b2aa0b86ee31b77594909843c6815f4da9fac
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/manual/transforms-qml')
0 files changed, 0 insertions, 0 deletions