On Fri, 2009-05-08 at 01:55 +0100, Emmanuele Bassi wrote:
> > after I changed ClutterFixed to CoglFixed, and CLUTTER_INT_TO_FIXED
> to
> > COGL_FIXED_FROM_INT, it output this error message:
> >
> ----------------------------------------------------------------------------------------
> > error: cannot convert ‘CoglFixed*’ to ‘float*’ for argument ‘1’ to
> > ‘void cogl_path_polygon(float*, gint)’
> >
> ----------------------------------------------------------------------------------------
> > 
> > how could i solve it? what's the correct way to do it? thank
> 
> Cogl API uses floating point, not fixed point types. the tutorial
> should
> be fixed to reflect this.

The C version of the tutorial is already correct:
http://www.openismus.com/documents/clutter_tutorial/0.9/docs/tutorial/html/custom-actor-example.html

The cluttermm (C++) version of the tutorial (what this was thread is
about) has not yet been updated for the API changes, though I think
cluttermm itself is fairly up-to-date. I think we'll wait for the C one
to be ready first, maybe waiting for clutter 1.0. 

-- 
[email protected]
www.murrayc.com
www.openismus.com

-- 
To unsubscribe send a mail to [email protected]

Reply via email to