PBO/VBO checks now query OpenGL directly instead of keeping track of the currently bound buffers

This commit is contained in:
Elias Naur 2005-12-27 14:46:42 +00:00
parent 1d521cf604
commit d633986260
13 changed files with 54 additions and 109 deletions

View file

@ -3,10 +3,13 @@
package org.lwjgl.opengl;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferUtils;
import java.util.Set;
import java.nio.IntBuffer;
public class ContextCapabilities {
final StateTracker tracker;
final IntBuffer scratch_int_buffer = BufferUtils.createIntBuffer(16);
public final boolean GL_ARB_color_buffer_float;
public final boolean GL_ARB_depth_texture;