Skip to content

Commit

Permalink
Update src/widget/wspinnyglsl.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: JoergAtGithub <64457745+JoergAtGithub@users.noreply.github.com>
  • Loading branch information
m0dB and JoergAtGithub authored Oct 19, 2023
1 parent 6d98d80 commit 599c8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/wspinnyglsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void WSpinnyGLSL::paintGL() {

if (m_pFgTextureScaled) {
QMatrix4x4 rotate;
rotate.rotate(-m_fAngle, 0, 0);
rotate.rotate(m_fAngle, 0, 0, -1);
m_textureShader.setUniformValue(matrixLocation, rotate);

drawTexture(m_pFgTextureScaled.get());
Expand Down

0 comments on commit 599c8cc

Please sign in to comment.