Wed, 07 Aug 2013 01:14:04 -0700 Reset the viewport when we reset the other D3D state.
Sam Lantinga <slouken@libsdl.org> [Wed, 07 Aug 2013 01:14:04 -0700] rev 7586
Reset the viewport when we reset the other D3D state. From Sythical: Hello, I've created a simple SDL2 application which draws a texture on the screen. The problem I'm having is that if I launch another program which loads the UAC popup or if I lock my PC and then login again, the application stops drawing the texture. I tried adding SDL_Delay(10000) after SDL_RenderPresent(renderer). This made the texture stay on the screen for a little bit but the texture wasn't drawn again after the delay. Here's my code: #include "SDL.h" int main(int argc, char *argv[]) { SDL_Renderer *renderer; SDL_Window *window; SDL_Surface *surface; SDL_Texture *rect_texture; SDL_Event main_event; SDL_Rect rect_data; int enable_vsync = 1; if(SDL_Init(SDL_INIT_VIDEO) < 0) return 1; window = SDL_CreateWindow("SDL2 Application", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 600, 600, SDL_WINDOW_RESIZABLE); renderer = SDL_CreateRenderer(window, -1, enable_vsync ? SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC : SDL_RENDERER_ACCELERATED); SDL_SetRenderDrawColor(renderer, 20, 20, 30, 255); surface = SDL_LoadBMP("icon.bmp"); rect_texture = SDL_CreateTextureFromSurface(renderer, surface); rect_data.w = 32; rect_data.h = 32; rect_data.x = 300; rect_data.y = 300; while(main_event.type != SDL_QUIT) { SDL_PollEvent(&main_event); SDL_RenderClear(renderer); SDL_RenderCopy(renderer, rect_texture, NULL, &rect_data); SDL_RenderPresent(renderer); } SDL_DestroyTexture(rect_texture); SDL_DestroyRenderer(renderer); SDL_DestroyWindow(window); SDL_Quit(); return 0; }
Wed, 07 Aug 2013 00:46:42 -0700 Unify the SetWindowPos() calls so that they all set the window state based on SDL state.
Sam Lantinga <slouken@libsdl.org> [Wed, 07 Aug 2013 00:46:42 -0700] rev 7585
Unify the SetWindowPos() calls so that they all set the window state based on SDL state. This prevents a rogue call to SetWindowPos() from changing the state unexpectedly. Also moved the size correction code above the window position query, because the initial window size can affect the positioning.
Wed, 07 Aug 2013 00:10:31 -0700 Fixed incorrect window state if the window is created grabbed. We don't want to activate the window if it isn't shown yet.
Sam Lantinga <slouken@libsdl.org> [Wed, 07 Aug 2013 00:10:31 -0700] rev 7584
Fixed incorrect window state if the window is created grabbed. We don't want to activate the window if it isn't shown yet.
Tue, 06 Aug 2013 22:55:55 -0700 Fixed bug 1848 - SDL_SetWindowSize cannot set sizes larger than desktop resolution in Windows
Sam Lantinga <slouken@libsdl.org> [Tue, 06 Aug 2013 22:55:55 -0700] rev 7583
Fixed bug 1848 - SDL_SetWindowSize cannot set sizes larger than desktop resolution in Windows
Tue, 06 Aug 2013 22:31:11 -0700 Fixed clobbering viewport when window is resized when using the software renderer. The viewport adjustment is already handled in the top level rendering code.
Sam Lantinga <slouken@libsdl.org> [Tue, 06 Aug 2013 22:31:11 -0700] rev 7582
Fixed clobbering viewport when window is resized when using the software renderer. The viewport adjustment is already handled in the top level rendering code.
Tue, 06 Aug 2013 18:23:46 -0700 Removed function signature that doesn't actually exist yet.
Ryan C. Gordon <icculus@icculus.org> [Tue, 06 Aug 2013 18:23:46 -0700] rev 7581
Removed function signature that doesn't actually exist yet.
Tue, 06 Aug 2013 18:19:34 -0700 Fixed a number of missing keys in the X11 keyboard mapping.
Sam Lantinga <slouken@libsdl.org> [Tue, 06 Aug 2013 18:19:34 -0700] rev 7580
Fixed a number of missing keys in the X11 keyboard mapping.
Tue, 06 Aug 2013 12:56:47 -0700 Added scancodes for F17, F18, F19 on a Mac keyboard
Sam Lantinga <slouken@libsdl.org> [Tue, 06 Aug 2013 12:56:47 -0700] rev 7579
Added scancodes for F17, F18, F19 on a Mac keyboard
Tue, 06 Aug 2013 01:19:23 -0700 Added tag macosx_10_4_supported for changeset ccf5fbfa2afa
Sam Lantinga <slouken@libsdl.org> [Tue, 06 Aug 2013 01:19:23 -0700] rev 7578
Added tag macosx_10_4_supported for changeset ccf5fbfa2afa
Tue, 06 Aug 2013 00:23:04 -0400 Removed anisotropic option from SDL_HINT_RENDER_SCALE_QUALITY.
Ryan C. Gordon <icculus@icculus.org> [Tue, 06 Aug 2013 00:23:04 -0400] rev 7577
Removed anisotropic option from SDL_HINT_RENDER_SCALE_QUALITY. Anisotropic filtering is meant to be used for textures at a stark angle, not perpendicular to the camera.
Mon, 05 Aug 2013 11:45:51 -0700 Added scancodes for F13-F19 from a Mac USB keyboard
Sam Lantinga <slouken@libsdl.org> [Mon, 05 Aug 2013 11:45:51 -0700] rev 7576
Added scancodes for F13-F19 from a Mac USB keyboard
Sun, 04 Aug 2013 23:38:25 +0200 Added missing function prototype and changed its signature.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 04 Aug 2013 23:38:25 +0200] rev 7575
Added missing function prototype and changed its signature. Signature was changed to prevent a header for SDL_GLContext.
Sun, 04 Aug 2013 23:28:34 +0200 Fixed volume keys not being handled by Android if screen keyboard is visible.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 04 Aug 2013 23:28:34 +0200] rev 7574
Fixed volume keys not being handled by Android if screen keyboard is visible. See bug #1569.
Sun, 04 Aug 2013 09:37:27 -0700 Fixed bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90)
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Aug 2013 09:37:27 -0700] rev 7573
Fixed bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90) Andreas With the patch applied, make is not able to find the rule for Makefile.in anymore. Removing the patch resolves the issue. The path is in fact correct (in my case: /c/external/SDL64/SDL). But it seems the windows build of GNU Make doesn't work well with pathnames in rules. Both the dependencies in "$(srcdir)/configure: $(srcdir)/configure.in" and "Makefile: $(srcdir)/Makefile.in" will cause rules not to be found when srcdir is defined. The same problem occurs if the patch is removed and I supply configure with a srcdir manually.
Sun, 04 Aug 2013 09:35:35 -0700 Added extra Visual C++ files to the ignore list
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Aug 2013 09:35:35 -0700] rev 7572
Added extra Visual C++ files to the ignore list
Sun, 04 Aug 2013 09:26:45 -0700 Fixed bug 2008 - error typos in gles2 renderer
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Aug 2013 09:26:45 -0700] rev 7571
Fixed bug 2008 - error typos in gles2 renderer Martin Gerhardy The attached patch fixes some typos in the SDL_SetError calls that are a little bit misleading.
Sun, 04 Aug 2013 09:23:55 -0700 Allow C++ code to include SDL_android.h
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Aug 2013 09:23:55 -0700] rev 7570
Allow C++ code to include SDL_android.h Alexey Petruchik Although SDL_android.h is not intended to be included by client code sometimes it needed. For example you need JNIEnv pointer to make JNI calls to modified SDLActivity.java (video playback, facebook integration, in-apps). It seems a bit weird to write: extern "C" { #include "SDL_android.h" } in my AndroidJNI.cpp file.
Sat, 03 Aug 2013 23:40:28 +0200 Added missing return statement.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 03 Aug 2013 23:40:28 +0200] rev 7569
Added missing return statement.
Sat, 03 Aug 2013 23:36:07 +0200 Fixed calling JNI method in a wrong way.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 03 Aug 2013 23:36:07 +0200] rev 7568
Fixed calling JNI method in a wrong way. Method is void and does not return bool.
Sat, 03 Aug 2013 12:54:39 -0300 Fixes bug #1889, allows for GL Context deletion/recreation on Android
Gabriel Jacobo <gabomdq@gmail.com> [Sat, 03 Aug 2013 12:54:39 -0300] rev 7567
Fixes bug #1889, allows for GL Context deletion/recreation on Android Thanks ny00!
Sat, 03 Aug 2013 02:20:00 -0400 Some fixes for SDL_MaximizeWindow().
Ryan C. Gordon <icculus@icculus.org> [Sat, 03 Aug 2013 02:20:00 -0400] rev 7566
Some fixes for SDL_MaximizeWindow(). Fixes Bugzilla #1441.
Fri, 02 Aug 2013 18:25:20 -0400 Fixed some whitespace.
Ryan C. Gordon <icculus@icculus.org> [Fri, 02 Aug 2013 18:25:20 -0400] rev 7565
Fixed some whitespace.
Fri, 02 Aug 2013 12:38:39 -0300 Temporary fix for bug #1639 SDL does not message back closing of screen keyboard
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 02 Aug 2013 12:38:39 -0300] rev 7564
Temporary fix for bug #1639 SDL does not message back closing of screen keyboard See FIXME notes on patch for details.
Thu, 01 Aug 2013 09:15:36 -0700 Fixed bug 1968 - SDL_RenderCopy stretch loses proportion on viewport boundaries for 3D renderers
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Aug 2013 09:15:36 -0700] rev 7563
Fixed bug 1968 - SDL_RenderCopy stretch loses proportion on viewport boundaries for 3D renderers driedfruit SDL_RenderCopy clips dstrect against the viewport. Then it adjusts the srcrect by "appropriate" amount of pixels. This amount is actually wrong, quite a lot, because of the rounding errors introduced in the "* factor / factor" scale. real_srcrect.x += (deltax * real_srcrect.w) / dstrect->w; real_srcrect.w += (deltaw * real_srcrect.w) / dstrect->w; For example: I have a 32 x 32 srcrect and a 64 x 64 dstrect. So far the stretching is done perfectly, by a factor of 2. Now, consider dstrect being clipped against the viewport, so it becomes 56 x 64. Now, the factor becomes 1.75 ! The adjustment to "srcrect" can't handle this, cause srcrect is in integers. And thus we now have incorrect mapping, with dstrect not being in the right proportion to srcrect. The problem is most evident when upscaling stuff, like displaying a 8x8 texture with a zoom of 64 or more, and moving it beyond the corners of the screen. It *looks* really really bad. Note: RenderCopyEX does no such clipping, and is right to do so. The fix would be to remove any such clipping from RenderCopy too. And then fix the software renderer, because it has the same fault, independently of RenderCopy. [attached patch] this leaves Software Renderer buggy, as it does it's own clipping later on
Thu, 01 Aug 2013 01:29:07 -0700 Fixed bug 1638 - Blit Alpha surface bug
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Aug 2013 01:29:07 -0700] rev 7562
Fixed bug 1638 - Blit Alpha surface bug The DUFFS_LOOP_124() macro was trying to be too clever and wasn't doing the right thing, it was checking n & 4 instead of width. I'm not sure how we didn't catch this before, but it should be fixed now.
Thu, 01 Aug 2013 01:50:02 -0400 Windows: Unstick shift keys in a timely manner when the OS loses a KEYUP event.
Ryan C. Gordon <icculus@icculus.org> [Thu, 01 Aug 2013 01:50:02 -0400] rev 7561
Windows: Unstick shift keys in a timely manner when the OS loses a KEYUP event. Fixes Bugzilla #1959.
Wed, 31 Jul 2013 21:31:23 -0700 More work on bug 1999, added missing CFBundleExecutable key to Info.plist
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Jul 2013 21:31:23 -0700] rev 7560
More work on bug 1999, added missing CFBundleExecutable key to Info.plist
Thu, 01 Aug 2013 00:27:22 -0400 Move the fix for Bugzilla #1395 into WIN_GL_SetupWindow() directly.
Ryan C. Gordon <icculus@icculus.org> [Thu, 01 Aug 2013 00:27:22 -0400] rev 7559
Move the fix for Bugzilla #1395 into WIN_GL_SetupWindow() directly. It's a cleaner solution.
Wed, 31 Jul 2013 21:22:09 -0700 Documented why we have global and thread-local variables for the GL context.
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Jul 2013 21:22:09 -0700] rev 7558
Documented why we have global and thread-local variables for the GL context.
Wed, 31 Jul 2013 21:08:22 -0700 Fixed bug 1569 - Android volume keys not honoured inside SDL
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Jul 2013 21:08:22 -0700] rev 7557
Fixed bug 1569 - Android volume keys not honoured inside SDL Joseba GarcĂ­a Echebarria The current version of SDL HG in Android doesn't do anything when volume keys are pressed. The change makes SDL ignore volume keys so that they're handled by the OS and the sound volume can be changed within an app.
Thu, 01 Aug 2013 00:01:57 -0400 Windows: Don't lose the existing current GL context in SDL_CreateWindow().
Ryan C. Gordon <icculus@icculus.org> [Thu, 01 Aug 2013 00:01:57 -0400] rev 7556
Windows: Don't lose the existing current GL context in SDL_CreateWindow(). Fixes Bugzilla #1395.
Wed, 31 Jul 2013 16:25:50 -0300 Set mAudioTrack to null when AudioTrack initialization fails
Gabriel Jacobo <gabomdq@gmail.com> [Wed, 31 Jul 2013 16:25:50 -0300] rev 7555
Set mAudioTrack to null when AudioTrack initialization fails Prevents potential problems when stopping the app.
Wed, 31 Jul 2013 12:13:26 -0400 Further fix SIZEOF_VOIDP in SDL_config.h.in
Edward Rudd <urkle@outoforder.cc> [Wed, 31 Jul 2013 12:13:26 -0400] rev 7554
Further fix SIZEOF_VOIDP in SDL_config.h.in The configure script was still overwriting SIZEOF_VOIDP so both ended up as either 4 or 8 depending on the arch. This simply removes the check from configure.in
Wed, 31 Jul 2013 11:00:23 -0400 Workaround some Windows OpenGL drivers mishandling wglMakeCurrent().
Ryan C. Gordon <icculus@icculus.org> [Wed, 31 Jul 2013 11:00:23 -0400] rev 7553
Workaround some Windows OpenGL drivers mishandling wglMakeCurrent(). You should be able to do wglMakeCurrent(NULL, NULL), according to MSDN, since the first parameter is ignored if the second is NULL, but this causes problems on some drivers, so make sure we always have a valid HDC in the first parameter (and exit early if we already have no current context in the NULL, NULL case).
Wed, 31 Jul 2013 10:04:59 -0300 Fix for bug 2001, verify that the AudioTrack is properly initialized
Gabriel Jacobo <gabomdq@gmail.com> [Wed, 31 Jul 2013 10:04:59 -0300] rev 7552
Fix for bug 2001, verify that the AudioTrack is properly initialized ...and fail to initialize the audio backend if it's not!
Tue, 30 Jul 2013 23:33:32 -0700 Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Jul 2013 23:33:32 -0700] rev 7551
Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path dak180 Since the MACOSX_DEPLOYMENT_TARGET is 10.5; INSTALL_PATH should use @rpath. See http://www.dribin.org/dave/blog/archives/2009/11/15/rpath/ for the details on why this is a good idea.
Tue, 30 Jul 2013 21:39:38 -0700 Added code signature step to Framework build process
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Jul 2013 21:39:38 -0700] rev 7550
Added code signature step to Framework build process
Tue, 30 Jul 2013 20:57:26 -0700 Check for negative source rectangle in SDL_SoftBlit() (thanks John!)
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Jul 2013 20:57:26 -0700] rev 7549
Check for negative source rectangle in SDL_SoftBlit() (thanks John!)
Tue, 30 Jul 2013 23:24:23 +0200 Added support for the two new key codes from Android 4.3.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Tue, 30 Jul 2013 23:24:23 +0200] rev 7548
Added support for the two new key codes from Android 4.3.
Tue, 30 Jul 2013 00:02:45 -0700 Fixed compiler warning with gcc
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Jul 2013 00:02:45 -0700] rev 7547
Fixed compiler warning with gcc
Mon, 29 Jul 2013 23:28:25 -0700 Fixed stack smashing crash when using the GCC compiled DLL with Visual Studio.
Sam Lantinga <slouken@libsdl.org> [Mon, 29 Jul 2013 23:28:25 -0700] rev 7546
Fixed stack smashing crash when using the GCC compiled DLL with Visual Studio.
Tue, 30 Jul 2013 01:32:26 -0400 Workaround older libpulse that fails in pa_context_new() with a NULL appname.
Ryan C. Gordon <icculus@icculus.org> [Tue, 30 Jul 2013 01:32:26 -0400] rev 7545
Workaround older libpulse that fails in pa_context_new() with a NULL appname. Newer libpulses do sane defaults if you pass a NULL there. In lieu of a proper way to specify this in SDL at the moment, this will do. Fixes Bugzilla #1119.
Tue, 30 Jul 2013 01:30:32 -0400 These should be __inline__, not inline.
Ryan C. Gordon <icculus@icculus.org> [Tue, 30 Jul 2013 01:30:32 -0400] rev 7544
These should be __inline__, not inline.
Tue, 30 Jul 2013 00:17:44 -0400 Attempt to fix compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Tue, 30 Jul 2013 00:17:44 -0400] rev 7543
Attempt to fix compiler warning. Fixes Bugzilla #1784. (or at least the only part of it that was a real bug.)
Sun, 28 Jul 2013 11:24:16 -0700 Added documentation saying the render API isn't for multi-threading.
Sam Lantinga <slouken@libsdl.org> [Sun, 28 Jul 2013 11:24:16 -0700] rev 7542
Added documentation saying the render API isn't for multi-threading.
Sat, 27 Jul 2013 21:11:12 +0200 Changed test program to be more compatible C.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 21:11:12 +0200] rev 7541
Changed test program to be more compatible C.
Sat, 27 Jul 2013 21:07:07 +0200 Removed unused variable from test program.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 21:07:07 +0200] rev 7540
Removed unused variable from test program.
Sat, 27 Jul 2013 21:05:04 +0200 Removed unused parameter in test program.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 21:05:04 +0200] rev 7539
Removed unused parameter in test program.
Sat, 27 Jul 2013 21:02:50 +0200 Corrected words in comments of test programs.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 21:02:50 +0200] rev 7538
Corrected words in comments of test programs.
Sat, 27 Jul 2013 13:18:54 -0400 Fixed return value documentation for SDL_HapticUpdateEffect().
Ryan C. Gordon <icculus@icculus.org> [Sat, 27 Jul 2013 13:18:54 -0400] rev 7537
Fixed return value documentation for SDL_HapticUpdateEffect(). It was a cut-and-paste error from SDL_HapticNewEffect(), right above it.
Sat, 27 Jul 2013 13:13:57 -0400 Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
Ryan C. Gordon <icculus@icculus.org> [Sat, 27 Jul 2013 13:13:57 -0400] rev 7536
Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
Sat, 27 Jul 2013 13:09:15 -0400 Added a FIXME discussion to last commit.
Ryan C. Gordon <icculus@icculus.org> [Sat, 27 Jul 2013 13:09:15 -0400] rev 7535
Added a FIXME discussion to last commit.
Mon, 22 Jul 2013 20:55:07 -0400 Cocoa: Make the next-highest window gain focus when a window is closing.
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Jul 2013 20:55:07 -0400] rev 7534
Cocoa: Make the next-highest window gain focus when a window is closing. (if the closed window wasn't the foreground, this is effectively a no-op.)
Sat, 27 Jul 2013 14:22:52 +0200 Fixed SDL_HapticOpened() returning -1 instead of 0.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 14:22:52 +0200] rev 7533
Fixed SDL_HapticOpened() returning -1 instead of 0. According to header file it should only return 0 or 1.
Sat, 27 Jul 2013 14:06:06 +0200 Removed C++ macro setup in internal header for Android port which is only C now.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 14:06:06 +0200] rev 7532
Removed C++ macro setup in internal header for Android port which is only C now.
Sat, 27 Jul 2013 13:52:16 +0200 Fixed SDL_HapticRumblePlay() maybe working because of SDL_HapticUpdateEffect().
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 13:52:16 +0200] rev 7531
Fixed SDL_HapticRumblePlay() maybe working because of SDL_HapticUpdateEffect().
Sat, 27 Jul 2013 13:39:43 +0200 Corrected SDL_HapticUpdateEffect() returning 0 instead of index of effect.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 27 Jul 2013 13:39:43 +0200] rev 7530
Corrected SDL_HapticUpdateEffect() returning 0 instead of index of effect. According to documentation in header and wiki the index should be returned. This change may break existing programs which assume only 0 means a success.
Sat, 27 Jul 2013 03:48:23 -0700 Added example of using the software renderer and window surface API, contributed by Nitin Jain.
Sam Lantinga <slouken@libsdl.org> [Sat, 27 Jul 2013 03:48:23 -0700] rev 7529
Added example of using the software renderer and window surface API, contributed by Nitin Jain.
Sat, 27 Jul 2013 03:44:03 -0700 Fixed bug 1983 - SDL_thread.h broken under MinGW crosscompiling environment
Sam Lantinga <slouken@libsdl.org> [Sat, 27 Jul 2013 03:44:03 -0700] rev 7528
Fixed bug 1983 - SDL_thread.h broken under MinGW crosscompiling environment q66 after updating SDL2 to the latest RC I'm unable to build my game engine under mingw crosscompiling environment for Windows (32bit, hosted on freebsd 64bit). The error is in SDL_thread.h with messages like this: http://codepad.org/jEQXd3Yq The problem is, while _beginthreadex return type is correctly mapped to uintptr_t (as specified by Microsoft), the return type under mingw is unsigned long int (same size, different signature), resulting in the error above. The reason it didn't error before is this: http://codepad.org/8FAbKAxz You can see the _beginthreadex case is only used without HAVE_LIBC defined; at one point though, SDL_config_windows.h was changed like this: -/* Enabled for SDL 1.2 (binary compatibility) */ -#define HAVE_LIBC 1 +/* This is disabled by default to avoid C runtime dependencies and manifest requirements */ resulting in these errors.
Sat, 27 Jul 2013 03:22:37 -0700 Fixed variable scoping for Windows build
Sam Lantinga <slouken@libsdl.org> [Sat, 27 Jul 2013 03:22:37 -0700] rev 7527
Fixed variable scoping for Windows build
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 tip