Remove a deprecated function call
This commit is contained in:
parent
7b5ce0f9d7
commit
a303eadf3d
@ -3477,8 +3477,9 @@ const wchar_t* COpenGLDriver::getName() const
|
|||||||
//! deletes all dynamic lights there are
|
//! deletes all dynamic lights there are
|
||||||
void COpenGLDriver::deleteAllDynamicLights()
|
void COpenGLDriver::deleteAllDynamicLights()
|
||||||
{
|
{
|
||||||
for (s32 i=0; i<MaxLights; ++i)
|
if (!useCoreContext)
|
||||||
glDisable(GL_LIGHT0 + i);
|
for (s32 i=0; i<MaxLights; ++i)
|
||||||
|
glDisable(GL_LIGHT0 + i);
|
||||||
|
|
||||||
RequestedLights.clear();
|
RequestedLights.clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user