No GL_DEPTH_CLAMP Constant

Dec 27, 2013 at 2:42 AM
I need to enable GL_DEPTH_CLAMP but the constant does not exist. I have version 2.1 and the constant is simply not in the OpenGL class. Does anyone know the actual uint value for the constant or know of a workaround?
Coordinator
Dec 30, 2013 at 1:49 PM
Create a new visual studio project for C++ and include gl.h, then type GL_DEPTH_CLAMP and hit F12 to go to the definition - or debug the project with a quickwatch. I'll make sure it's included in the next release if it's missing - remember, constants in SGL don't start with GL_!