mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 15:15:40 +00:00
Remove some left over depreciated opengl functions. They were basically no-op anyway with shader path.
This commit is contained in:
parent
9348fd852d
commit
e47258c61d
|
@ -889,15 +889,8 @@ static void UpdateCrosshairs(uint32_t currentInputs, CInputs *Inputs, unsigned c
|
|||
// Set up the viewport and orthogonal projection
|
||||
glUseProgram(0); // no shaders
|
||||
glViewport(xOffset, yOffset, xRes, yRes);
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
gluOrtho2D(0.0, 1.0, 1.0, 0.0);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
glDisable(GL_TEXTURE_2D); // no texture mapping
|
||||
glDisable(GL_BLEND); // no blending
|
||||
glDisable(GL_DEPTH_TEST); // no Z-buffering needed
|
||||
glDisable(GL_LIGHTING);
|
||||
|
||||
New3D::Mat4 m;
|
||||
m.Ortho(0.0, 1.0, 1.0, 0.0, -1.0f, 1.0f);
|
||||
|
|
Loading…
Reference in a new issue