# HG changeset patch # User Matti Hamalainen # Date 1574374456 -7200 # Node ID 294c4c7943b55baa8ec4ebf68453fe07cae6bb68 # Parent a329f0216491b97516c5338fee7e39cae17e8a1e Cosmetic. diff -r a329f0216491 -r 294c4c7943b5 glxdragon.cpp --- a/glxdragon.cpp Thu Nov 07 20:15:33 2019 +0200 +++ b/glxdragon.cpp Fri Nov 22 00:14:16 2019 +0200 @@ -544,16 +544,15 @@ glColorMaterial(GL_FRONT, GL_AMBIENT_AND_DIFFUSE); glMateriali(GL_FRONT, GL_SHININESS, 96); - glMaterialfv(GL_FRONT, GL_SPECULAR, specReflection); glEnable(GL_LIGHT0); // Define the light components and position - GLfloat ambient[] = { 0.2f, 0.2f, 0.2f, 1.0f }; - GLfloat diffuse[] = { 0.8f, 0.8f, 0.8f, 1.0f }; - GLfloat specular[] = { 0.5f, 0.5f, 0.5f, 1.0f }; - GLfloat position[] = { 10.0f, 10.0f, 0.0f, 0.0f }; + GLfloat ambient[] = { 0.2f, 0.2f, 0.2f, 1.0f }; + GLfloat diffuse[] = { 0.8f, 0.8f, 0.8f, 1.0f }; + GLfloat specular[] = { 0.5f, 0.5f, 0.5f, 1.0f }; + GLfloat position[] = { 10.0f, 10.0f, 0.0f, 0.0f }; // Define the light components and position glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);