id of bound texture is stored in client side (PGL)

This commit is contained in:
codeanticode
2012-07-26 14:46:33 +00:00
parent 61e13ecc07
commit 003ea07a51
3 changed files with 20 additions and 23 deletions

View File

@@ -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);
}
}
}
*/
}
}