all initNativeStub() methods throws LWJGLException

This commit is contained in:
Elias Naur 2004-07-04 13:14:06 +00:00
parent b7e4214a1a
commit 53bd9b660d
60 changed files with 167 additions and 69 deletions

View file

@ -38,6 +38,8 @@ import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.LWJGLException;
/**
* $Id$
*
@ -89,7 +91,7 @@ public final class GL12 {
public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
static native void initNativeStubs();
static native void initNativeStubs() throws LWJGLException;
public static void glDrawRangeElements(int mode, int start, int end, ByteBuffer indices) {
BufferChecks.ensureElementVBOdisabled();