mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
id of bound texture is stored in client side (PGL)
This commit is contained in:
@@ -6717,20 +6717,6 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
// Disabling texturing for each of the targets used
|
||||
// by textures in the cache.
|
||||
for (int i = 0; i < size; i++) {
|
||||
PImage img = textures[i];
|
||||
if (img != null) {
|
||||
Texture tex = pgPrimary.getTexture(img);
|
||||
if (tex != null) {
|
||||
pgl.disableTexturing(tex.glTarget);
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user