Hi,
I have been trying to get the poygon mode from opengl. How do we get the proper GLenum
value for the 2 symbolic constants indicating whether front-facing and back-facing polygons are rasterized as points, lines, or filled polygons.
Code:
GLint polygonMode[2];
glGetIntegerv(GL_POLYGON_MODE, polygonMode);
Can anyone tell how do we get thhat 2 constants?
R.B