Skip to content

Commit

Permalink
OpenGL modernization: GLScope: fixed IQPolar right scale matrix on di…
Browse files Browse the repository at this point in the history
…splay #1 only
  • Loading branch information
f4exb committed Mar 6, 2016
1 parent 4cdaf0f commit 61fdee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdrbase/gui/glscope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@ void GLScope::applyConfig()

m_glRight1ScaleMatrix.setToIdentity();
m_glRight1ScaleMatrix.translate (
-1.0f + ((float) (2*width() - leftMargin) / (float) width()),
-1.0f + ((float) 2*(width() - leftMargin) / (float) width()),
1.0f - ((float) 2*topMargin / (float) height())
);
m_glRight1ScaleMatrix.scale (
Expand Down

0 comments on commit 61fdee1

Please sign in to comment.