chris clepper escribió:
pix_snap is probably using texunit 0 which is the default for any texturing call. pix_snap actually uses a function called glReadPixels(), and that might use texture units internally to grab the frame and store it before read back to main memory.
Uh, so I guess I should use texunits starting from 1 for [gemframebuffer] and [pix_texture]s?
I actually have 2 [pix_snap]s, not one. Will they both use texunit 0, or 0 and 1? Can I safely assume they won't use any higher texunit?
thanks m.