From fd8a69707b64cc6cf236616eca8d1007b46101b1 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Fri, 7 Feb 2014 19:09:34 +0000 Subject: [PATCH] Added a comment setupTextureParams in LwjglRenderer about the switch with missing breaks git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/main/java/com/jme3/renderer/lwjgl/LwjglRenderer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglRenderer.java b/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglRenderer.java index 57e0c6405..8fb0085f3 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglRenderer.java +++ b/jme3-lwjgl/src/main/java/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)));