On Thu, 2009-03-19 at 10:21 -0700, Maciej Cencora wrote:
> Hi,
> 
> here's simple patch that allows for building render functions with 
> DO_UNFILLED 
> = 0.
> I'd appreciate any comments
> 
> Maciej Cencora

Does this actually make any difference to the compiled code?  When
DO_UNFILLED is true, the compiler should be able to statically tell that
mode is set to GL_TRIANGLES at the top of the function and never
altered.

Also, if the change does turn out to be necessary, could you recast it
in similar style to the rest of the function, ie using 

   if (DO_UNFILLED) {
   }

rather than 

#if DO_UNFILLED
#endif


Keith


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to