mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-09 08:24:23 +00:00
Fixed static WGL extensions
This commit is contained in:
parent
0246a05a16
commit
65c2910e77
4 changed files with 13 additions and 15 deletions
|
|
@ -343,7 +343,7 @@ public class HWCursorTest {
|
|||
GL.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
||||
//sync frame (only works on windows)
|
||||
if (GLWindow.WGL_EXT_swap_control) {
|
||||
if (gl.WGL_EXT_swap_control) {
|
||||
GL.wglSwapIntervalEXT(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ public class FullScreenWindowedTest {
|
|||
GL.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
||||
//sync frame (only works on windows)
|
||||
if (GLWindow.WGL_EXT_swap_control) {
|
||||
if (gl.WGL_EXT_swap_control) {
|
||||
GL.wglSwapIntervalEXT(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ public class PbufferTest {
|
|||
*/
|
||||
private void glInit() {
|
||||
//sync frame (only works on windows)
|
||||
if (GLWindow.WGL_EXT_swap_control) {
|
||||
if (gl.WGL_EXT_swap_control) {
|
||||
GL.wglSwapIntervalEXT(1);
|
||||
}
|
||||
GL.glTexEnvf(GL.GL_TEXTURE_ENV, GL.GL_TEXTURE_ENV_MODE, GL.GL_REPLACE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue