Sign in to follow this  

find out how many texture units ... ?

Recommended Posts

I want to find out how many texture units are supported by OpenGL implementation, so i write a program like this:

void main()
	int mm;
	cout <<"mm = " << mm << endl;
but when i compiled i received the error message: error C2065: 'GL_MAX_TEXTURE_UNITS' : undeclared identifier i'm using VC6++ now. I really don't know that ! help me !!!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this