Supported features detection

Started by
10 comments, last by V-man 17 years, 2 months ago
@spider62: Make sure you're video card drivers are up to date.
http://www.nvidia.com/content/drivers/
Advertisement
Mantear, you can continue to use an extension forever, even when it goes into core. In very rare cases, an extension gets killed (those that are extremely unpopular)

Some people prefer core functions + some ext, some only work with GL 1.1 + ext
Mostly it's cosmetic thing in your code, but sometimes it's important to use core.

I will write a doc about this and put it in the opengl.org wiki
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

This topic is closed to new replies.

Advertisement