Re: [AD] clipping code fix (diff files)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


	

tom st denis wrote:
> 
> Ok here is my first "diff" fix thingy.  It fixes the problem that
> clip3d functions don't recognize transparent objects.

[snip - clip3d.c.diff]
-      INT_UV + INT_1COL,                    /* ptex mask lit */
-      INT_UV + INT_1COL,                    /* atex trans */
-      INT_UV + INT_1COL,                    /* ptex trans */
-      INT_UV + INT_1COL,                    /* atex mask trans */
-      INT_UV + INT_1COL                     /* ptex mask trans */
+      INT_UV + INT_1COL                     /* ptex mask lit */

Your patch is upside down! You want to have '+' to the lines you add,
and '-' to the lines you remove. Just inverse the order of the files
when you call 'diff'

--
- Robert J Ohannessian

"Microsoft code is probably O(n^20)" (My CS teacher)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/