GL: make lwjgl implementation classes final

experimental
Kirill Vainer 10 years ago
parent cb7d139488
commit 148c78a943
  1. 1
      jme3-core/src/main/java/com/jme3/renderer/opengl/GL.java
  2. 2
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java
  3. 2
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGLExt.java
  4. 2
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGLFboEXT.java
  5. 2
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGLFboGL3.java
  6. 2
      settings.gradle

@ -161,6 +161,7 @@ public interface GL {
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
public static final int GL_TEXTURE_BASE_LEVEL = 0x813C;
public static final int GL_TEXTURE_MAG_FILTER = 0x2800; public static final int GL_TEXTURE_MAG_FILTER = 0x2800;
public static final int GL_TEXTURE_MAX_LEVEL = 0x813D; public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
public static final int GL_TEXTURE_MIN_FILTER = 0x2801; public static final int GL_TEXTURE_MIN_FILTER = 0x2801;

@ -13,7 +13,7 @@ import java.nio.ShortBuffer;
import com.jme3.renderer.opengl.GL4; import com.jme3.renderer.opengl.GL4;
import org.lwjgl.opengl.*; import org.lwjgl.opengl.*;
public class LwjglGL implements GL, GL2, GL3, GL4 { public final class LwjglGL implements GL, GL2, GL3, GL4 {
private static void checkLimit(Buffer buffer) { private static void checkLimit(Buffer buffer) {
if (buffer == null) { if (buffer == null) {

@ -13,7 +13,7 @@ import org.lwjgl.opengl.GL15;
import org.lwjgl.opengl.GL20; import org.lwjgl.opengl.GL20;
import org.lwjgl.opengl.GLSync; import org.lwjgl.opengl.GLSync;
public class LwjglGLExt implements GLExt { public final class LwjglGLExt implements GLExt {
private static void checkLimit(Buffer buffer) { private static void checkLimit(Buffer buffer) {
if (buffer == null) { if (buffer == null) {

@ -13,7 +13,7 @@ import org.lwjgl.opengl.EXTFramebufferObject;
* *
* @author Kirill Vainer * @author Kirill Vainer
*/ */
public class LwjglGLFboEXT implements GLFbo { public final class LwjglGLFboEXT implements GLFbo {
private static void checkLimit(Buffer buffer) { private static void checkLimit(Buffer buffer) {
if (buffer == null) { if (buffer == null) {

@ -11,7 +11,7 @@ import org.lwjgl.opengl.GL30;
* *
* @author Kirill Vainer * @author Kirill Vainer
*/ */
public class LwjglGLFboGL3 implements GLFbo { public final class LwjglGLFboGL3 implements GLFbo {
private static void checkLimit(Buffer buffer) { private static void checkLimit(Buffer buffer) {
if (buffer == null) { if (buffer == null) {

@ -36,7 +36,7 @@ include 'jme3-testdata'
include 'jme3-examples' include 'jme3-examples'
if(buildAndroidExamples == "true"){ if(buildAndroidExamples == "true"){
include 'jme3-android-examples' include 'jme3-android-examples'
} }
if(buildSdkProject == "true"){ if(buildSdkProject == "true"){

Loading…
Cancel
Save