()
| 602 | // int was =GL11.glGetInteger(GL_TEXTURE_BINDING_2D); |
| 603 | |
| 604 | glBindTexture(specification.target, s.name); |
| 605 | glTexSubImage2D(specification.target, 0, 0, 0, specification.width, specification.height, specification.format, |
| 606 | specification.type, from); |
| 607 | if (specification.highQuality) { |
| 608 | glGenerateMipmap(specification.target); |
| 609 | } |
| 610 | glBindTexture(specification.target, 0); |
no outgoing calls
no test coverage detected