mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -04:00
OpenGL modernization: GLScope: fixed IQPolar right scale matrix on display #1 only
This commit is contained in:
parent
4cdaf0fe54
commit
61fdee1332
@ -1839,7 +1839,7 @@ void GLScope::applyConfig()
|
|||||||
|
|
||||||
m_glRight1ScaleMatrix.setToIdentity();
|
m_glRight1ScaleMatrix.setToIdentity();
|
||||||
m_glRight1ScaleMatrix.translate (
|
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())
|
1.0f - ((float) 2*topMargin / (float) height())
|
||||||
);
|
);
|
||||||
m_glRight1ScaleMatrix.scale (
|
m_glRight1ScaleMatrix.scale (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user