1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-01 01:06:35 -04:00

OpenGL modernization: GLScope: fixed IQPolar right scale matrix on display #1 only

This commit is contained in:
f4exb 2016-03-06 16:51:07 +01:00
parent 4cdaf0fe54
commit 61fdee1332

View File

@ -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 (