PDA

View Full Version : GL_WIN_swap_hint



Diapolo
04-14-2000, 05:02 AM
I saw that my driver supports the GL_WIN_swap_hint extension, but I was unable to get any information about it. Can explain me the extension?

Then another question, where can I get the latest gl.h file?
I tried to use glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPERATE_SPECULAR_COLOR); but my compiler didnīt know the command? Any ideas?

Diapolo

Gorg
04-14-2000, 06:37 AM
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPERATE_SPECULAR_COLOR) is a opengl 1.2 specification and on windows there is only opengl 1.1. So you have to use an extension for that.

Serge K
04-15-2000, 12:06 AM
About GL_WIN_swap_hint:

glAddSwapHintRectWIN (http://msdn.microsoft.com/library/psdk/opengl/glfunc01_16zy.htm)

GLEXT: Demo of GL_WIN_swap_hint & GL_EXT_vertex_array (http://support.microsoft.com/support/kb/articles/Q139/9/67.asp)