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
experimental
rem..om 11 years ago
parent 8aeb523043
commit 1ef4c21391
  1. 1
      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)));

Loading…
Cancel
Save