blob: 55ccbc211bf981e9caedb50650f69d4b288e9b6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
*** src/functionalities/GL/GL_Renderer/GL_RendererShapeVisitor.cpp.orig Sat Dec 16 15:45:37 2006
--- src/functionalities/GL/GL_Renderer/GL_RendererShapeVisitor.cpp Sat Dec 16 15:47:15 2006
***************
*** 19,25 ****
void RendererShapeVisitor::enterMaterial(Material *M)
{
! RendererStateVariables *stateVariables = Singleton<RendererStateVariables>::getInstance();
glMaterialfv(GL_FRONT, GL_DIFFUSE, &M->getDiffuseColor().front());
glMaterialfv(GL_FRONT, GL_AMBIENT, &M->getAmbientColor().front());
--- 19,25 ----
void RendererShapeVisitor::enterMaterial(Material *M)
{
! /* RendererStateVariables *stateVariables = */ Singleton<RendererStateVariables>::getInstance();
glMaterialfv(GL_FRONT, GL_DIFFUSE, &M->getDiffuseColor().front());
glMaterialfv(GL_FRONT, GL_AMBIENT, &M->getAmbientColor().front());
|