Deprecated LwjglRenderer and Lwjgl's TextureUtils. URA is used when choosing LWJGL as renderer.

experimental
Nehon 10 years ago
parent c9eadcc762
commit 995ab83a9e
  1. 13
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglRenderer.java
  2. 7
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java

@ -84,8 +84,13 @@ import static org.lwjgl.opengl.GL15.*;
import static org.lwjgl.opengl.GL20.*;
import org.lwjgl.opengl.GL30;
public class LwjglRenderer implements Renderer {
/**
*
* Should not be used, has been replaced by Unified Rendering Architechture.
* @deprecated
*/
@Deprecated
public class LwjglRenderer {
private static final Logger logger = Logger.getLogger(LwjglRenderer.class.getName());
private static final boolean VALIDATE_SHADER = false;
@ -135,12 +140,12 @@ public class LwjglRenderer implements Renderer {
nameBuf.rewind();
}
@Override
// @Override
public Statistics getStatistics() {
return statistics;
}
@Override
// @Override
public EnumSet<Caps> getCaps() {
return caps;
}

@ -49,7 +49,6 @@ import static org.lwjgl.opengl.ARBTextureMultisample.*;
import static org.lwjgl.opengl.EXTPackedDepthStencil.*;
import static org.lwjgl.opengl.EXTPackedFloat.*;
import static org.lwjgl.opengl.EXTTextureArray.*;
import static org.lwjgl.opengl.EXTTextureCompressionLATC.*;
import static org.lwjgl.opengl.EXTTextureCompressionS3TC.*;
import static org.lwjgl.opengl.EXTTextureSRGB.*;
import static org.lwjgl.opengl.EXTTextureSharedExponent.*;
@ -58,6 +57,12 @@ import static org.lwjgl.opengl.GL12.*;
import static org.lwjgl.opengl.GL13.*;
import static org.lwjgl.opengl.GL14.*;
/**
*
* Should not be used, has been replaced by Unified Rendering Architechture.
* @deprecated
*/
@Deprecated
class TextureUtil {
static class GLImageFormat {

Loading…
Cancel
Save