SDL/include
Sam Lantinga 6a0ed22cdc Added some extra protection to notify the developer if they haven't initialized the application properly.
This will help reduce issues like that reported in bug 1819:

Wouter van Oortmerssen 2013-04-23 20:12:07 EDT
#0  0x01d1e881 in __HALT ()
#1  0x01c58971 in _CFRuntimeCreateInstance ()
#2  0x02e4acc1 in GSFontCreateWithName ()
#3  0x00adc0e1 in UINewFont ()
#4  0x00adc24c in +[UIFont systemFontOfSize:traits:] ()
#5  0x00adc298 in +[UIFont systemFontOfSize:] ()
#6  0x009fb5d9 in +[UITextFieldLabel defaultFont] ()
#7  0x00a8ccd5 in -[UILabel _commonInit] ()
#8  0x00a8ce14 in -[UILabel initWithFrame:] ()
#9  0x00a052eb in -[UITextField createTextLabelWithTextColor:] ()
#10 0x009fbede in -[UITextField initWithFrame:] ()
#11 0x00152ead in -[SDL_uikitview initializeKeyboard] at /Users/aardappel/lobster/external/SDL-2.0.0-7046/Xcode-iOS/SDL/../../src/video/uikit/SDL_uikitview.m:208
#12 0x0015290c in -[SDL_uikitview initWithFrame:] at /Users/aardappel/lobster/external/SDL-2.0.0-7046/Xcode-iOS/SDL/../../src/video/uikit/SDL_uikitview.m:50
#13 0x00153b5b in -[SDL_uikitopenglview initWithFrame:scale:retainBacking:rBits:gBits:bBits:aBits:depthBits:stencilBits:majorVersion:] at /Users/aardappel/lobster/external/SDL-2.0.0-7046/Xcode-iOS/SDL/../../src/video/uikit/SDL_uikitopenglview.m:53
#14 0x001524ff in UIKit_GL_CreateContext at /Users/aardappel/lobster/external/SDL-2.0.0-7046/Xcode-iOS/SDL/../../src/video/uikit/SDL_uikitopengles.m:114
#15 0x0015078f in SDL_GL_CreateContext at /Users/aardappel/lobster/external/SDL-2.0.0-7046/Xcode-iOS/SDL/../../src/video/SDL_video.c:2666
#16 0x000d8c5c in SDLInit(char const*, vec<int, 2>&) at /Users/aardappel/lobster/dev/xcode/lobster/../../src/sdlsystem.cpp:193
2013-06-05 21:23:59 -07:00
..
begin_code.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
close_code.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
doxyfile Removing some more references to SDL 1.3 2012-01-22 17:26:45 -05:00
SDL_assert.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_atomic.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_audio.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_bits.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_blendmode.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_clipboard.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_android.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_iphoneos.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_macosx.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_minimal.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_pandora.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_psp.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config_windows.h Added a comment to say why C runtime is off by default 2013-05-26 16:08:15 -07:00
SDL_config_wiz.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config.h.cmake Fix compilation with libX11 >= 1.5.99.902. 2013-06-02 20:20:18 +06:00
SDL_config.h.in Fix compilation with libX11 >= 1.5.99.902. 2013-06-02 20:20:18 +06:00
SDL_copying.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_cpuinfo.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_endian.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_error.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_events.h Fixed doxygen warnings and corrected documentation in header files. 2013-06-05 23:33:15 +02:00
SDL_gamecontroller.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_gesture.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_haptic.h Fixed doxygen warnings and corrected documentation in header files. 2013-06-05 23:33:15 +02:00
SDL_hints.h Joystick: Only send joy events when focused. 2013-06-05 15:11:38 -07:00
SDL_joystick.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_keyboard.h Fixed bug 1882 - SDL_GetKeyboardState should return const. 2013-06-02 01:09:12 -07:00
SDL_keycode.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_loadso.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_log.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_main.h Added some extra protection to notify the developer if they haven't initialized the application properly. 2013-06-05 21:23:59 -07:00
SDL_messagebox.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_mouse.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_mutex.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_name.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_opengl.h Fixed Haiku build issue with missing extension support. 2013-05-21 22:48:50 -07:00
SDL_opengles.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_opengles2.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_pixels.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_platform.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_power.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_quit.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_rect.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_render.h When the window is resized, the viewport is automatically reset. 2013-05-29 03:22:19 -07: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 File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_scancode.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_shape.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_stdinc.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_surface.h Fixed doxygen warnings and corrected documentation in header files. 2013-06-05 23:33:15 +02:00
SDL_system.h Changed documentation in header because LocalReferenceHolder not public API. 2013-06-02 14:27:54 +02:00
SDL_syswm.h Fixed bug 731 - No mechanism to extract the NSView for 3d library 2013-05-20 22:05:49 -07:00
SDL_test_assert.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_common.h When the window is resized, the viewport is automatically reset. 2013-05-29 03:22:19 -07:00
SDL_test_compare.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_crc32.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_font.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_fuzzer.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_harness.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_images.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_log.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_md5.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_random.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_thread.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_timer.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_touch.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_types.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_version.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_video.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00