Syntax error fixes related to previous changes

experimental
shadowislord 10 years ago
parent aaac8cb613
commit 6f90009dab
  1. 8
      jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
  2. 2
      jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java
  3. 2
      jme3-core/src/main/java/com/jme3/post/HDRRenderer.java

@ -85,13 +85,9 @@ public class TechniqueDef implements Savable {
MultiPass, MultiPass,
/** /**
* Enable light rendering by using the * @deprecated OpenGL1 is not supported anymore
* {@link Renderer#setLighting(com.jme3.light.LightList) renderer's setLighting}
* method.
* <p>
* The specific details of rendering the lighting is up to the
* renderer implementation.
*/ */
@Deprecated
FixedPipeline, FixedPipeline,
} }

@ -301,7 +301,7 @@ public class FilterPostProcessor implements SceneProcessor, Savable {
FrameBuffer sceneBuffer = renderFrameBuffer; FrameBuffer sceneBuffer = renderFrameBuffer;
if (renderFrameBufferMS != null && !renderer.getCaps().contains(Caps.OpenGL31)) { if (renderFrameBufferMS != null && !renderer.getCaps().contains(Caps.OpenGL31)) {
renderer.copyFrameBuffer(renderFrameBufferMS, renderFrameBuffer); renderer.copyFrameBuffer(renderFrameBufferMS, renderFrameBuffer, true);
} else if (renderFrameBufferMS != null) { } else if (renderFrameBufferMS != null) {
sceneBuffer = renderFrameBufferMS; sceneBuffer = renderFrameBufferMS;
} }

@ -352,7 +352,7 @@ public class HDRRenderer implements SceneProcessor {
// renderManager.renderViewPortRaw(viewPort); // renderManager.renderViewPortRaw(viewPort);
// render back to non-multisampled FB // render back to non-multisampled FB
renderer.copyFrameBuffer(msFB, mainSceneFB); renderer.copyFrameBuffer(msFB, mainSceneFB, true);
}else{ }else{
// renderer.setFrameBuffer(mainSceneFB); // renderer.setFrameBuffer(mainSceneFB);
// renderer.clearBuffers(true,true,false); // renderer.clearBuffers(true,true,false);

Loading…
Cancel
Save