diff options
Diffstat (limited to 'src/demos/hdr/CgPipeline.java')
-rwxr-xr-x | src/demos/hdr/CgPipeline.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/demos/hdr/CgPipeline.java b/src/demos/hdr/CgPipeline.java index 2f3a9f5..9a2bd0b 100755 --- a/src/demos/hdr/CgPipeline.java +++ b/src/demos/hdr/CgPipeline.java @@ -3,8 +3,9 @@ package demos.hdr; import java.io.*; import java.util.*; -import net.java.games.jogl.*; -import net.java.games.cg.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.cg.*; import demos.util.*; public class CgPipeline implements Pipeline { @@ -108,6 +109,6 @@ public class CgPipeline implements Pipeline { } public void setMatrixParameterfc(GL gl, int param, float[] matrix) { - CgGL.cgGLSetMatrixParameterfc((CGparameter) parameters.get(param), matrix); + CgGL.cgGLSetMatrixParameterfc((CGparameter) parameters.get(param), matrix, 0); } } |