1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-09-02 13:17:48 -04:00

OpenGL modernization: gotten rid of old OpenGL code entirely (in GL_DEPRECATED define blocks)

This commit is contained in:
f4exb 2016-03-05 14:31:46 +01:00
parent 9ea5ee3854
commit 271b95d0d8

View File

@ -550,10 +550,11 @@ void GLSpectrum::paintGL()
return;
}
#ifdef GL_DEPRECATED
glPushMatrix();
glScalef(2.0, -2.0, 1.0);
glTranslatef(-0.50, -0.5, 0);
#endif
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT);
@ -1391,8 +1392,9 @@ void GLSpectrum::paintGL()
}
#endif
}
#ifdef GL_DEPRECATGED
glPopMatrix();
#endif
m_mutex.unlock();
}