removed all GL 2.x code.

After thinking about it for a day or so I believe it's the best option to remove all compatibility code because it's a major obstacle for a transition to a core profile.
This commit is contained in:
Christoph Oelckers 2014-06-21 15:50:32 +02:00
commit 2925c96b59
24 changed files with 310 additions and 809 deletions

View file

@ -356,14 +356,6 @@ void InitGLRMapinfoData()
glset.map_notexturefill = opt->notexturefill;
glset.skyrotatevector = opt->skyrotatevector;
glset.skyrotatevector2 = opt->skyrotatevector2;
if (!gl.hasGLSL())
{
// light modes 2 and 8 require shaders
if (glset.map_lightmode == 2 || glset.map_lightmode == 8)
{
glset.map_lightmode = 3;
}
}
}
else
{