[PD] [GEM-dev] gl stack underflow

Matteo Sisti Sette matteosistisette at gmail.com
Fri Jan 1 20:03:55 CET 2010


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.

-- 
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com




More information about the Pd-list mailing list