ThunderSoul
08-03-2005, 07:57 AM
I have the following line in my code:
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SINGLE_COLOR);
, but GL_SINGLE_COLOR is an undeclared identifier. I am pretty sure I included all includes. They are:
#include <cmath>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
What could be a solution to this problem?
Thank you,
-TS...
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SINGLE_COLOR);
, but GL_SINGLE_COLOR is an undeclared identifier. I am pretty sure I included all includes. They are:
#include <cmath>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
What could be a solution to this problem?
Thank you,
-TS...