~jerstlouis/ecere/master

« back to all changes in this revision

Viewing changes to ecere/src/gui/drivers/cocoa/CocoaInterface.ec

  • Committer: Jerome St-Louis
  • Date: 2014-07-13 07:36:23 UTC
  • Revision ID: git-v1:f0bde67653f85d885b3fb5b6318e8ff275a251a2
OS X build fixes; configure: improved

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    const char **GraphicsDrivers(int *numDrivers)
63
63
    {
64
64
        static const char *graphicsDrivers[] = { "CocoaOpenGL" };
65
 
        *numDrivers = (const char *)sizeof(graphicsDrivers) / sizeof(char *);
 
65
        *numDrivers = sizeof(graphicsDrivers) / sizeof(char *);
66
66
 
67
67
        return (char **)graphicsDrivers;
68
68
    }