()
| 610 | |
| 611 | |
| 612 | protected void unbindFrontTexture() { |
| 613 | if (textureIsBound(TEXTURE_2D, glColorTex.get(frontTex))) { |
| 614 | // We don't want to unbind another texture |
| 615 | // that might be bound instead of this one. |
| 616 | if (!texturingIsEnabled(TEXTURE_2D)) { |
| 617 | enableTexturing(TEXTURE_2D); |
| 618 | bindTexture(TEXTURE_2D, 0); |
| 619 | disableTexturing(TEXTURE_2D); |
| 620 | } else { |
| 621 | bindTexture(TEXTURE_2D, 0); |
| 622 | } |
| 623 | } |
| 624 | } |
| 625 | |
| 626 | |
| 627 | protected void syncBackTexture() { |
no test coverage detected