- add shader patching to allow running the engine with GLSL 1.2.
- made some initial preparations for the shader-less fallback path.
This commit is contained in:
parent
ee9a40f5e9
commit
f066457a48
8 changed files with 108 additions and 26 deletions
|
|
@ -279,7 +279,14 @@ void FRenderState::Apply()
|
|||
else mVertexBuffer->BindVBO();
|
||||
mCurrentVertexBuffer = mVertexBuffer;
|
||||
}
|
||||
ApplyShader();
|
||||
if (gl.compatibility > CMPT_GL2)
|
||||
{
|
||||
ApplyShader();
|
||||
}
|
||||
else
|
||||
{
|
||||
//ApplyFixedFunction();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue