Unbinds the shader program.
()
| 364 | * Unbinds the shader program. |
| 365 | */ |
| 366 | public void unbind() { |
| 367 | if (hasType()) unbindTyped(); |
| 368 | |
| 369 | if (bound) { |
| 370 | unbindTextures(); |
| 371 | pgl.useProgram(0); |
| 372 | bound = false; |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | |
| 377 | /** |
no test coverage detected