12-09-2005, 03:40 AM
Have you tried using glfwswapinterval? You might also try using glflush before you call glfwswapbuffers. Are you just sticking a light in front of the ship to simulate the flash? If so, you could do something like this...
Code:
If GlfwGetTime()>=Flash_Time Then
Flash_Time = GlfwGetTime()+Flash_Delay
Flash_On XOR = TRUE
End If
If Flash_On Then
glEnable GL_LIGHT?
ELSE
glDisable GL_LIGHT?
End If
'draw ship...