[lugaru] Opengl-ES Port

Scott pickle136 at sbcglobal.net
Thu Apr 21 22:46:05 EDT 2011


Hi Ryan,

Yeah almost all of this code will run on any system, of course keeping 
the display list and lockarrays will help on systems that support them,
I just defined everything separate in case it was decided not to combine.

On 04/21/2011 09:21 PM, Ryan C. Gordon wrote:
>
>> It includes the gles portions with the define of USE_GLES
>
> The portions that replace immediate mode calls (glBegin, etc) should 
> probably do so on all platforms. Things like glColor4f() exist in 
> standard GL, so adding the extra 1.0f isn't a big deal to avoid the 
> #ifdef.
>
> There's really no reason we shouldn't use that code everywhere.
>
> --ryan.
>
> _______________________________________________
> lugaru mailing list
> lugaru at icculus.org
> http://icculus.org/mailman/listinfo/lugaru
>



More information about the lugaru mailing list