From 1ef4c21391d46513c06cc629007f10eea3838b59 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Fri, 7 Feb 2014 19:09:39 +0000 Subject: [PATCH] Added a comment setupTextureParams in LwjglRenderer about the switch with missing breaks git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@11025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java b/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java index 57e0c6405..8fb0085f3 100644 --- a/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java +++ b/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java @@ -1778,6 +1778,7 @@ public class LwjglRenderer implements Renderer { case ThreeDimensional: case CubeMap: // cubemaps use 3D coords glTexParameteri(target, GL_TEXTURE_WRAP_R, convertWrapMode(tex.getWrap(WrapAxis.R))); + //There is no break statement on purpose here case TwoDimensional: case TwoDimensionalArray: glTexParameteri(target, GL_TEXTURE_WRAP_T, convertWrapMode(tex.getWrap(WrapAxis.T)));