Classes now abstract
This commit is contained in:
parent
269b5b0046
commit
f7609396fb
|
@ -39,7 +39,7 @@ package org.lwjgl.openal;
|
|||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class AL extends CoreAL {
|
||||
public abstract class AL extends CoreAL {
|
||||
|
||||
/** ALC instance. */
|
||||
protected static ALC alc;
|
||||
|
|
|
@ -46,7 +46,7 @@ import java.nio.DoubleBuffer;
|
|||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class CoreAL extends BaseAL implements BaseALConstants {
|
||||
public abstract class CoreAL extends BaseAL implements BaseALConstants {
|
||||
|
||||
/**
|
||||
* Enables a feature of the OpenAL driver.
|
||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.Buffer;
|
|||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision: 1.23 $
|
||||
*/
|
||||
public class CoreGL12 extends CoreGL11 implements CoreGL12Constants {
|
||||
public abstract class CoreGL12 extends CoreGL11 implements CoreGL12Constants {
|
||||
|
||||
public static void glColorTable(int target, int internalFormat, int width, int format, int type, ByteBuffer data) {
|
||||
nglColorTable(target, internalFormat, width, format, type, data, data.position());
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.nio.*;
|
|||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision: 1.23 $
|
||||
*/
|
||||
public class CoreGL13 extends CoreGL12 implements CoreGL13Constants {
|
||||
public abstract class CoreGL13 extends CoreGL12 implements CoreGL13Constants {
|
||||
public static native void glActiveTexture(int texture);
|
||||
public static native void glClientActiveTexture(int texture);
|
||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer data) {
|
||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.Buffer;
|
|||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision: 1.23 $
|
||||
*/
|
||||
public class CoreGL14 extends CoreGL13 implements CoreGL14Constants {
|
||||
public abstract class CoreGL14 extends CoreGL13 implements CoreGL14Constants {
|
||||
public static native void glFogCoordf (float coord);
|
||||
public static void glFogCoordPointer (int stride, FloatBuffer data) {
|
||||
nglFogCoordPointer(GL_FLOAT, stride, data, data.position() << 2);
|
||||
|
|
|
@ -46,7 +46,7 @@ import java.nio.Buffer;
|
|||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class GL extends CoreGL14 implements GLConstants {
|
||||
public abstract class GL extends CoreGL14 implements GLConstants {
|
||||
public static native void glActiveStencilFaceEXT(int face);
|
||||
|
||||
public static native void glActiveTextureARB(int texture);
|
||||
|
|
|
@ -48,7 +48,7 @@ import java.util.StringTokenizer;
|
|||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class GLCaps {
|
||||
public abstract class GLCaps {
|
||||
/*
|
||||
* Available extensions
|
||||
*/
|
||||
|
@ -249,7 +249,7 @@ public class GLCaps {
|
|||
final String exts;
|
||||
|
||||
if (WGL_ARB_extensions_string)
|
||||
exts = GL.wglGetExtensionsStringARB(Window.getCurrentWindow().getHandle());
|
||||
exts = GL.wglGetExtensionsStringARB(Window.getHandle());
|
||||
// Remember - this is an HWND not an HDC, which is what's required. The native
|
||||
// code on the other side of wglGetExtensionsStringARB gets the HDC from the HWND
|
||||
// behind the scenes.
|
||||
|
|
|
@ -46,18 +46,12 @@ import java.nio.DoubleBuffer;
|
|||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class GLU implements GLUConstants {
|
||||
public abstract class GLU implements GLUConstants {
|
||||
|
||||
static {
|
||||
System.loadLibrary(Sys.getLibraryName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Private constructor for GLU.
|
||||
*/
|
||||
private GLU() {
|
||||
}
|
||||
|
||||
public static native String gluErrorString(int errCode);
|
||||
|
||||
public static native String gluGetString(int name);
|
||||
|
|
Loading…
Reference in New Issue