mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
OpemGL: reorder functions so that the sequence glPushMatrix, glScalef and glTranslatef is always first in each rendering block lines of code
This commit is contained in:
@@ -240,13 +240,13 @@ void GLScope::paintGL()
|
||||
emit traceSizeChanged(m_displayTrace->size());
|
||||
}
|
||||
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
glPushMatrix();
|
||||
glScalef(2.0, -2.0, 1.0);
|
||||
glTranslatef(-0.50, -0.5, 0);
|
||||
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
// I - primary display
|
||||
|
||||
if ((m_displays == DisplayBoth) || (m_displays == DisplayFirstOnly))
|
||||
|
||||
Reference in New Issue
Block a user