1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-09-03 13:47:50 -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; return;
} }
#ifdef GL_DEPRECATED
glPushMatrix(); glPushMatrix();
glScalef(2.0, -2.0, 1.0); glScalef(2.0, -2.0, 1.0);
glTranslatef(-0.50, -0.5, 0); glTranslatef(-0.50, -0.5, 0);
#endif
glClearColor(0.0f, 0.0f, 0.0f, 0.0f); glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
@ -1391,8 +1392,9 @@ void GLSpectrum::paintGL()
} }
#endif #endif
} }
#ifdef GL_DEPRECATGED
glPopMatrix(); glPopMatrix();
#endif
m_mutex.unlock(); m_mutex.unlock();
} }