Remaining instead of capacity

This commit is contained in:
Jason Mitchell committed 2024-01-29 08:00:14 -08:00
1 parent db49a613a0
commit 83cf0801ef
1 file changed
+1 -1
@@ -598,7 +598,7 @@ public class GLStateManager {
}
public static void glDeleteTextures(IntBuffer ids) {
for(int i = 0; i < ids.capacity(); i++) {
for(int i = 0; i < ids.remaining(); i++) {
onDeleteTexture(ids.get(i));
}