From b0b3f1b55e4a52e3e3f42c9044f831041f19739f Mon Sep 17 00:00:00 2001 From: "Sha..om" Date: Sun, 15 Jan 2012 04:23:48 +0000 Subject: [PATCH] * FrameBuffer.setTargetIndex() will set refresh needed on FrameBuffer git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/texture/FrameBuffer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/core/com/jme3/texture/FrameBuffer.java b/engine/src/core/com/jme3/texture/FrameBuffer.java index c34879400..1beb1976a 100644 --- a/engine/src/core/com/jme3/texture/FrameBuffer.java +++ b/engine/src/core/com/jme3/texture/FrameBuffer.java @@ -290,6 +290,7 @@ public class FrameBuffer extends NativeObject { throw new IllegalArgumentException("The target at " + index + " is not set!"); colorBufIndex = index; + setRefreshNeeded(); } /**