(Texture texture)
| 544 | |
| 545 | |
| 546 | protected Texture wrapFrontTexture(Texture texture) { |
| 547 | if (texture == null) { |
| 548 | texture = new Texture(graphics); |
| 549 | texture.init(graphics.width, graphics.height, |
| 550 | glColorTex.get(frontTex), TEXTURE_2D, RGBA, |
| 551 | fboWidth, fboHeight, NEAREST, NEAREST, |
| 552 | CLAMP_TO_EDGE, CLAMP_TO_EDGE); |
| 553 | texture.invertedY(true); |
| 554 | texture.colorBuffer(true); |
| 555 | } else { |
| 556 | texture.glName = glColorTex.get(frontTex); |
| 557 | } |
| 558 | return texture; |
| 559 | } |
| 560 | |
| 561 | |
| 562 | protected void bindFrontTexture() { |
no test coverage detected