cyrille henry escribió:
i try your patch.
if you remove the separator, there is no more stack over/under flow.
strange.
this is a bug.
I've done some tests. You're right, removing the separator
under/overflows stop.
However with the separator and no [texunuit( messages there are no
o/u-flows.
Also, some [texunit( messages stop the o/u-flows, that is, using texunit
M on one given pix_texture and texunit N on another pix_texture may stop
the overflows for some values of M and N.
This is not related to the use of shaders, since I have reproduced it
without using shaders (see attached patch).
Any idea for a workaround? I do need separators...
thanks
m.
--
Matteo Sisti Sette
matteosistisette@gmail.com
http://www.matteosistisette.com
#N canvas 621 120 626 466 12;
#X obj 54 91 gemhead;
#X obj 55 138 separator;
#X obj 56 257 square 4;
#X obj 255 411 gemwin;
#X msg 212 383 create , 1;
#X msg 287 385 destroy;
#X obj 354 73 gemhead;
#X obj 354 103 pix_image img1.jpg;
#X obj 354 134 pix_texture;
#X obj 421 49 max 0;
#X floatatom 421 25 5 0 0 0 - - -;
#X msg 421 75 texunit $1;
#X obj 354 227 gemhead;
#X obj 354 294 pix_texture;
#X obj 425 204 max 0;
#X floatatom 425 180 5 0 0 0 - - -;
#X msg 425 231 texunit $1;
#X obj 354 261 pix_image img2.jpg;
#X obj 55 225 pix_texture;
#X obj 58 427 print;
#X msg 53 385 ===========;
#X obj 53 199 pix_image img3.jpg;
#X obj 145 138 max 0;
#X floatatom 145 112 5 0 0 0 - - -;
#X msg 145 163 texunit $1;
#X connect 0 0 1 0;
#X connect 1 0 21 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 9 0 11 0;
#X connect 10 0 9 0;
#X connect 11 0 8 0;
#X connect 12 0 17 0;
#X connect 14 0 16 0;
#X connect 15 0 14 0;
#X connect 16 0 13 0;
#X connect 17 0 13 0;
#X connect 18 0 2 0;
#X connect 20 0 19 0;
#X connect 21 0 18 0;
#X connect 22 0 24 0;
#X connect 23 0 22 0;
#X connect 24 0 18 0;