Moved GL capabilities to GLCaps

This commit is contained in:
Elias Naur 2003-07-28 10:09:58 +00:00
parent 91e1e30652
commit 8b9931560f
14 changed files with 599 additions and 346 deletions

View file

@ -321,7 +321,8 @@ public class FullScreenWindowedTest {
GL.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
//sync frame (only works on windows)
if (gl.WGL_EXT_swap_control) {
GLCaps.determineAvailableExtensions();
if (GLCaps.WGL_EXT_swap_control) {
GL.wglSwapIntervalEXT(1);
}
}