[SDL] sdl+opengl on osx, converting the sample program from c to cpp
rnodal at gmail.com
Fri Jun 20 08:49:31 PDT 2008
Thanks for the correction. That error message of the compiler making a
distinction between SDL_GLattr and int really through me off. Thanks.
On Fri, Jun 20, 2008 at 11:27 AM, Pierre Phaneuf <pphaneuf at gmail.com> wrote:
> On Fri, Jun 20, 2008 at 11:18 AM, Rogelio Nodal <rnodal at gmail.com> wrote:
> > I don't think you can just put any interger value there. But like I
> > I'm not expert so I may be wrong.
> In C, anywhere you see an enum parameter, you can put any int, or any
> *other* enum, this is not even a warning.
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL