- got rid of VAO's. they have no impact on performance and are a general nuisance if some render paths cannot use them.

- cleaned up gl_interface and removed gl.compatibility.
This commit is contained in:
Christoph Oelckers 2016-04-26 16:26:34 +02:00
commit 3b1500438d
11 changed files with 82 additions and 56 deletions

View file

@ -279,7 +279,7 @@ void FRenderState::Apply()
else mVertexBuffer->BindVBO();
mCurrentVertexBuffer = mVertexBuffer;
}
if (gl.compatibility > CMPT_GL2)
if (gl.glslversion > 0)
{
ApplyShader();
}