Commit 1f1a6963 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed VS2010 Build error

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9079 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0484ec79
......@@ -303,7 +303,7 @@ class DLLEXPORT LightSourceHandle {
GLint maxLights;
glGetIntegerv(GL_MAX_LIGHTS, &maxLights);
for(int i = 0; i < maxLights; ++i) {
lights_.insert(std::pair<GLenum, LightNode*>(GL_LIGHT0 + i, 0));
lights_.insert(std::pair<GLenum, LightNode*>(GL_LIGHT0 + i, (LightNode*)0 ));
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment