Skip to content

Commit 8c7bc2d

Browse files
committed
Expand Shader.dispose()'s Javadoc.
1 parent 4936da8 commit 8c7bc2d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/com/nullprogram/lwjgl/Shader.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ public Shader(final int type, final URL resource)
6565
}
6666

6767
/**
68-
* Disposes of this shader and the system resources it is using.
68+
* Disposes of this shader and the system resources it is
69+
* using. This can be safely called multiple times, but it is not
70+
* thread-safe.
6971
*/
7072
public void dispose() {
7173
if (!disposed) {

0 commit comments

Comments
 (0)