SDL_opengl.h is not included in the SDL framework

Hi Darrell, hi all,

After compiling the target named “Framework” in PB, I noticed it was not
possible to compile the test application “testgl.app”. One of the
reasons is that it could not find “SDL_opengl.h”.

I think this header file should be included as a public header in the
framework (unless there is a special reason not to - is there?)

Even after I included this header file, I could not compile the
testgl.app because of the following errors:

…/…/test/testgl.c:505: #elif or #else outside an #if
…/…/test/testgl.c:513: #endif outside an #if

Regards,

Elifarley C. Coelho
http://www.geocities.com/elifarley/_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Hi Darrell, hi all,

After compiling the target named “Framework” in PB, I noticed it was not
possible to compile the test application “testgl.app”. One of the
reasons is that it could not find “SDL_opengl.h”.

I think this header file should be included as a public header in the
framework (unless there is a special reason not to - is there?)

Yes, it should, it just hadn’t been added yet.

Even after I included this header file, I could not compile the
testgl.app because of the following errors:

…/…/test/testgl.c:505: #elif or #else outside an #if
…/…/test/testgl.c:513: #endif outside an #if

This should be fixed in CVS (but the PB project isn’t updated yet)

Thanks,
-Sam Lantinga, Software Engineer, Blizzard Entertainment