Hi Robert,

I am sorry about the introduced bug, your fixes compile and work fine on
my end.

Looks like I should spend some time learning compiler macros again :)

Stephan


Am 21.02.12 11:38, schrieb Robert Osfield:
> Hi Stephan,
> 
> On 27 January 2012 13:09, Stephan Maximilian Huber
> <[email protected]> wrote:
>> attached you'll find a compile fix for the new introduced rowlength-feature.
> 
> I've just spotted an error with the changes you made to avoid building
> the RowLength  feature under GLES - you changes disabled the feature
> for all platforms because you used the form:
> 
>    #if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES)
> 
> Which is always fails as both OSG_GLES1_FEATURES and
> OSG_GLES2_FEATURES are always defined - it's only their value either 0
> or 1 that determines which the GLES features are available.   By
> contrast the OSG_GLES1_AVAILABLE and OSG_GLES2_AVAILABLE are only
> defined when GLES is present so can be used in a similar manner -
> something that is already in use elsewhere in the OSG:
> 
>     #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE)
> 
> I've now modified your changes to use the _AVAILABLE form.  Could you
> do an svn update and let me know if it works fine for you.
> 
> Thanks
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to