From 6f90009dabc0da5238fbce44d8ba02026fa5c78a Mon Sep 17 00:00:00 2001 From: shadowislord Date: Mon, 19 Jan 2015 18:19:48 -0500 Subject: [PATCH] Syntax error fixes related to previous changes --- .../src/main/java/com/jme3/material/TechniqueDef.java | 8 ++------ .../src/main/java/com/jme3/post/FilterPostProcessor.java | 2 +- jme3-core/src/main/java/com/jme3/post/HDRRenderer.java | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java b/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java index e939c581f..9c4a74257 100644 --- a/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java +++ b/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java @@ -85,13 +85,9 @@ public class TechniqueDef implements Savable { MultiPass, /** - * Enable light rendering by using the - * {@link Renderer#setLighting(com.jme3.light.LightList) renderer's setLighting} - * method. - *

- * The specific details of rendering the lighting is up to the - * renderer implementation. + * @deprecated OpenGL1 is not supported anymore */ + @Deprecated FixedPipeline, } diff --git a/jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java b/jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java index 39dac1c7b..2cd8b83f8 100644 --- a/jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java +++ b/jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java @@ -301,7 +301,7 @@ public class FilterPostProcessor implements SceneProcessor, Savable { FrameBuffer sceneBuffer = renderFrameBuffer; if (renderFrameBufferMS != null && !renderer.getCaps().contains(Caps.OpenGL31)) { - renderer.copyFrameBuffer(renderFrameBufferMS, renderFrameBuffer); + renderer.copyFrameBuffer(renderFrameBufferMS, renderFrameBuffer, true); } else if (renderFrameBufferMS != null) { sceneBuffer = renderFrameBufferMS; } diff --git a/jme3-core/src/main/java/com/jme3/post/HDRRenderer.java b/jme3-core/src/main/java/com/jme3/post/HDRRenderer.java index 9dab905b3..2c071ae03 100644 --- a/jme3-core/src/main/java/com/jme3/post/HDRRenderer.java +++ b/jme3-core/src/main/java/com/jme3/post/HDRRenderer.java @@ -352,7 +352,7 @@ public class HDRRenderer implements SceneProcessor { // renderManager.renderViewPortRaw(viewPort); // render back to non-multisampled FB - renderer.copyFrameBuffer(msFB, mainSceneFB); + renderer.copyFrameBuffer(msFB, mainSceneFB, true); }else{ // renderer.setFrameBuffer(mainSceneFB); // renderer.clearBuffers(true,true,false);