()
| 673 | |
| 674 | |
| 675 | public void bind() { |
| 676 | // Binding a texture automatically enables texturing for the |
| 677 | // texture target from that moment onwards. Unbinding the texture |
| 678 | // won't disable texturing. |
| 679 | if (!pgl.texturingIsEnabled(glTarget)) { |
| 680 | pgl.enableTexturing(glTarget); |
| 681 | } |
| 682 | pgl.bindTexture(glTarget, glName); |
| 683 | bound = true; |
| 684 | } |
| 685 | |
| 686 | |
| 687 | public void unbind() { |
no test coverage detected