mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-19 20:09:39 +00:00
Remaining instead of capacity
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user