highest tessellation level - inner and outer

Hello ,

Is there any command to determine the highest tessellation level for the current opengl driver (OpenGL 4.x) installed in the system ?

Thanks

Yes, use the following:


int n;
glGetIntegerv(GL_MAX_TESS_GEN_LEVEL, &n);

The value is 64 at best for all (to me) known hardware.