- updated gl_interface to deal with older GL versions.
- added the framework for allowing multipass textured dynamic lights again.
This commit is contained in:
parent
8b5c741358
commit
090d13b915
8 changed files with 151 additions and 33 deletions
|
|
@ -109,7 +109,8 @@ void FGLRenderer::Initialize()
|
|||
|
||||
mVBO = new FFlatVertexBuffer;
|
||||
mSkyVBO = new FSkyVertexBuffer;
|
||||
mLights = new FLightBuffer();
|
||||
if (gl.lightmethod != LM_SOFTWARE) mLights = new FLightBuffer();
|
||||
else mLights = NULL;
|
||||
gl_RenderState.SetVertexBuffer(mVBO);
|
||||
mFBID = 0;
|
||||
SetupLevel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue