- replaced deprecated alpha testing with shader code.

This commit is contained in:
Christoph Oelckers 2014-07-14 21:14:43 +02:00
commit ed8a21fd86
19 changed files with 42 additions and 96 deletions

View file

@ -150,7 +150,6 @@ void OpenGLFrameBuffer::InitializeState()
glEnable(GL_TEXTURE_2D);
glDisable(GL_LINE_SMOOTH);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glAlphaFunc(GL_GEQUAL,0.5f);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);