I just committed defines for CLUTTER_COGL_HAS_GL/GLES to the cogl header. == Matthew
On Fri, 2007-12-14 at 13:18 +0200, Michael Dominic K. wrote: > On Dec 14, 2007 1:00 PM, Murray Cumming <[EMAIL PROTECTED]> wrote: > > In the tutorial, I have a chapter about implementing actors. Of course, > > I'm mentioning the OpenGL API there because you'd have to draw the actor > > somehow. I mention cogl too but I think OpenGL will be necessary in most > > cases. > > > > I wonder if this is the only/best way to use OpenGL directly. Maybe I > > don't need the separate "Using OpenGL" appendix. > > One related issue we discussed with Tommi recently is the way clutter > version/flavour defines are specified currently: > > #define CLUTTER_FLAVOUR "glx" > #define CLUTTER_COGL "gl" > > It's a bit sub-optimal since one can't do now easily if-deffed gl/gles > specific code without some non-obvious pre-processor string comparison > (?). > > > -- > MDK -- To unsubscribe send a mail to [EMAIL PROTECTED]
