SDL-mirror/include
Sam Lantinga 888d367270 Fixed bug 1782 - SDL_opengl.h header disabled on FreeBSD
q66

The SDL_opengl.h header contains this:

#ifdef __FreeBSD__  /* !!! FIXME: temp compiler warning fix... */
#define NO_SDL_GLEXT 1
#endif

However, I can't seem to find what kind of compiler warning it was and it makes it unusable to use on FreeBSD. If I comment out these lines on my machine, everything works fine - I use FreeBSD 9-STABLE (x86_64, gcc and clang both, the same in a x86 chroot). All I could find is that this was causing an error on FreeBSD 8, but I can't test that on my machine (maybe if I set up some FreeBSD 8 chroot).

I set up a 8.2 chroot and investigated the problem. Apparently this issue was fixed in Mesa 7.6 (and in Git, June 4 2009, but it didn't get into 7.5). By the time those lines were added, FreeBSD contained the libGL port version 7.4.4, which suffered from the issue, but on April 2012 the version was updated to 7.6, which is available for FreeBSD 8 and FreeBSD 9 alike, which means those three lines should be safe to remove (it'll work fine for everyone with sufficiently up to date ports).
2013-04-01 23:15:21 -07:00
..
begin_code.h Fixed compiler warnings with SDL_FORCE_INLINE on gcc2. (Thanks, Axel!) 2013-03-29 21:13:16 -04:00
close_code.h Happy New Year! 2013-02-15 08:47:44 -08:00
doxyfile Removing some more references to SDL 1.3 2012-01-22 17:26:45 -05:00
SDL.h Updated the license listed in the header, fixing bug 1768 2013-03-23 13:03:36 -07:00
SDL_assert.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_atomic.h Replace all the "static __inline__" functions with SDL_FORCE_INLINE. 2013-03-15 01:09:19 -04:00
SDL_audio.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_bits.h Don't use __builtin_clz() on gcc2. (thanks, Axel!) 2013-03-29 21:16:30 -04:00
SDL_blendmode.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_clipboard.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config.h Removed Nintendo DS support since nobody has volunteered to maintain it for over a year. 2013-03-17 09:44:58 -07:00
SDL_config.h.cmake Removed Nintendo DS support since nobody has volunteered to maintain it for over a year. 2013-03-17 09:44:58 -07:00
SDL_config.h.in Removed Nintendo DS support since nobody has volunteered to maintain it for over a year. 2013-03-17 09:44:58 -07:00
SDL_config_android.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config_iphoneos.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config_macosx.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config_minimal.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config_pandora.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config_psp.h Add PSP support 2013-03-17 20:07:02 +08:00
SDL_config_windows.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_config_wiz.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_copying.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_cpuinfo.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_endian.h Replace all the "static __inline__" functions with SDL_FORCE_INLINE. 2013-03-15 01:09:19 -04:00
SDL_error.h Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_events.h The joystick events contain a joystick instance ID, which is a signed value, with -1 being invalid. 2013-03-06 11:59:21 -08:00
SDL_gamecontroller.h add new gamecontroller APIs 2013-03-05 17:59:36 -05:00
SDL_gesture.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_haptic.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_hints.h First shot at Windows XInput haptics. 2013-03-10 13:05:47 -04:00
SDL_joystick.h The joystick events contain a joystick instance ID, which is a signed value, with -1 being invalid. 2013-03-06 11:59:21 -08:00
SDL_keyboard.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_keycode.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_loadso.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_log.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_main.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_messagebox.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_mouse.h The input API was never implemented, so removing it before release. 2013-02-19 05:39:19 -08:00
SDL_mutex.h Changed the name of SDL_mutexP() SDL_mutexV() 2013-03-07 20:12:40 -08:00
SDL_name.h
SDL_opengl.h Fixed bug 1782 - SDL_opengl.h header disabled on FreeBSD 2013-04-01 23:15:21 -07:00
SDL_opengles.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_opengles2.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_pixels.h We're using the alpha component of the palette entries, let's name it appropriately. 2013-03-24 09:56:45 -07:00
SDL_platform.h The platform define for the PSP is __PSP__ 2013-03-17 09:45:40 -07:00
SDL_power.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_quit.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_rect.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_render.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_revision.h Unofficial builds should have a 0 revision number - if this accidentally gets checked in with a different revision, this file should be reverted to this content. 2012-01-14 13:17:01 -05:00
SDL_rwops.h Fix bug 122 - SDL_RWops bug fixes: set RWops.type field, add input validation, add test coverage 2013-03-13 08:35:03 -07:00
SDL_scancode.h Updated the link to the USB usage page document 2013-02-28 20:01:17 -08:00
SDL_shape.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_stdinc.h Corrected function signature on SDL_strtod_inline() (thanks, Axel!). 2013-03-29 21:29:57 -04:00
SDL_surface.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_system.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_syswm.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_assert.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_common.h Removed Nintendo DS support since nobody has volunteered to maintain it for over a year. 2013-03-17 09:44:58 -07:00
SDL_test_compare.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_crc32.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_font.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_fuzzer.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_harness.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_images.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_log.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_md5.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_test_random.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_thread.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_timer.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_touch.h Updated touch API 2013-03-03 01:01:33 -08:00
SDL_types.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_version.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_video.h Fixed bug 1763 - Constify SDL_UpdateWindowSurfaceRects() 2013-03-19 21:53:33 -07:00