Ryan C. Gordon
e15ab88f34
Fix strict-aliasing issue in X11 dynamic loader.
...
Fixes dozens of compiler warnings on FreeBSD.
--HG--
branch : SDL-1.2
2011-11-16 21:10:03 -05:00
Ryan C. Gordon
3b6415de03
Patched to compile on FreeBSD (1.2 branch).
...
--HG--
branch : SDL-1.2
2011-11-16 05:20:17 -05:00
Ryan C. Gordon
d60e2f0c73
Windows: If we don't care about OpenGL accel and FULL fails, try NO accel.
...
--HG--
branch : SDL-1.2
2011-11-07 16:01:03 -05:00
Ryan C. Gordon
9af577656c
Mac OS X: Try to save the GL context between fullscreen/windowed toggles.
...
--HG--
branch : SDL-1.2
2011-11-06 16:51:51 -05:00
Ryan C. Gordon
ee85290ce0
Always do either FULL or NO acceleration for Windows OpenGL.
...
Don't ever leave it to the OS to decide, because older ATI drivers apparently
break in this case, and generally apps want FULL by default anyhow.
--HG--
branch : SDL-1.2
2011-11-06 16:34:32 -05:00
Ryan C. Gordon
baa2858d50
Mac OS X: Try to save the GL context when toggling windowed and fullscreen.
...
--HG--
branch : SDL-1.2
2011-11-04 17:44:17 -04:00
Ryan C. Gordon
bda4b54244
Stop a compiler warning on newer Mac OS X SDKs.
...
--HG--
branch : SDL-1.2
2011-11-04 17:42:54 -04:00
Ryan C. Gordon
3550f582ad
Mac OS X: Try to resize--without destroying--the GL context in SetVideoMode.
...
--HG--
branch : SDL-1.2
2011-11-04 00:58:24 -04:00
Ryan C. Gordon
a9bf84e11f
Fix compiler warning on Mac OS X, when targeting old OS with new SDK.
...
--HG--
branch : SDL-1.2
2011-11-04 00:56:11 -04:00
Ryan C. Gordon
489665a4cb
Fixed a compiler warning when building with Mac OS X target < 10.7.
...
--HG--
branch : SDL-1.2
2011-11-03 23:58:24 -04:00
Ryan C. Gordon
e51cfbcb74
Fixed buffer overflow in joystick cleanup. (valgrind ftw!)
...
--HG--
branch : SDL-1.2
2011-11-03 12:42:23 -04:00
Ryan C. Gordon
c02985aaf5
Fixed a bunch more compiler warnings in the 1.2 branch.
...
--HG--
branch : SDL-1.2
2011-10-13 16:38:05 -04:00
Ryan C. Gordon
a9c0600409
Quartz: Only use ShowMenuBar()/HideMenuBar() for legacy OS releases.
...
--HG--
branch : SDL-1.2
2011-10-13 14:50:47 -04:00
Ryan C. Gordon
dff71d0141
Cleaned up more compiler warnings in the 1.2 branch.
...
--HG--
branch : SDL-1.2
2011-10-13 12:29:03 -04:00
Ryan C. Gordon
81f016928e
Fixed unused variable compiler warnings on Mac OS X.
...
--HG--
branch : SDL-1.2
2011-10-13 12:19:30 -04:00
Ryan C. Gordon
a2c162aadc
Don't bother with Win9x compatibility when building 64-bit binaries.
...
Fixes Bugzilla #1310 .
Thanks to Ozkan Sezer for the patch!
--HG--
branch : SDL-1.2
2011-10-13 01:49:14 -04:00
Ryan C. Gordon
b9e5e946d2
Better test for actual Mac OS X SDK in use.
...
--HG--
branch : SDL-1.2
2011-09-18 02:43:59 -04:00
Ryan C. Gordon
058f9db949
Fixed building with a newer Mac OS X SDK and -mmacosx-version-min=10.4.
...
--HG--
branch : SDL-1.2
2011-09-18 02:00:39 -04:00
Ryan C. Gordon
1c90ab40eb
Fixed fullscreen OpenGL on Lion when built with the Mac OS X 10.4u SDK.
...
--HG--
branch : SDL-1.2
extra : rebase_source : 5fdead5d4946896d692a64e17c86c05d81c48470
2011-09-16 01:55:46 -04:00
Ryan C. Gordon
8cef11e187
Make SDL-1.2 Quartz target to work on Lion when built with the 10.4u SDK.
...
sigh.
--HG--
branch : SDL-1.2
extra : rebase_source : 0dd8cc25a22ed5ef703e6f2a3cdcb37838ad26cc
2011-09-16 01:37:44 -04:00
Ryan C. Gordon
177e46f158
Fixed Quartz UpdateRects failing to draw after a second SDL_SetVideoMode().
...
--HG--
branch : SDL-1.2
2011-09-15 20:59:57 -04:00
Ryan C. Gordon
ea25fe0933
Try to include more Lion-specific code, even when building with the 10.4u SDK.
...
--HG--
branch : SDL-1.2
2011-09-14 13:35:10 -04:00
Ryan C. Gordon
a57a1e7023
Mac OS X deprecation cleanup: maybe this SDK test is better...?
...
--HG--
branch : SDL-1.2
2011-09-14 03:23:35 -04:00
Ryan C. Gordon
a922a452ac
Attempt to quiet unavoidable compiler warnings on Mac OS X.
...
--HG--
branch : SDL-1.2
2011-09-14 03:12:48 -04:00
Ryan C. Gordon
4ae8773e61
Restored the older Quartz video target code.
...
The new code happened to (supposedly) work everywhere, but it is way slower
on older Mac OS X releases that could get away with using the now
deprecated/removed APIs, so now both implementations are available, and SDL
should choose the right path based on compile options and OS version at
runtime.
Fun stuff.
--HG--
branch : SDL-1.2
2011-09-13 20:30:48 -04:00
Ryan C. Gordon
b0078b3984
Fixed compiler warnings on Haiku.
...
--HG--
branch : SDL-1.2
2011-09-13 15:19:28 +00:00
Ryan C. Gordon
52c27b2b7c
Turned off the rest of the MMX code in SDL_blit_A.c.
...
It also seems to blow up everywhere.
Fixes Bugzilla #1278 .
--HG--
branch : SDL-1.2
2011-09-13 14:42:58 -04:00
Ryan C. Gordon
cd4c858c20
Maybe this will fix the Cygwin compile warning...argh.
...
--HG--
branch : SDL-1.2
2011-09-11 23:34:33 -04:00
Ryan C. Gordon
e9b3d5c60b
Maybe THIS will fix the Cygwin warnings...
...
--HG--
branch : SDL-1.2
2011-09-11 23:01:03 -04:00
Ryan C. Gordon
c9ff53c73a
Sigh, fixed typo.
...
--HG--
branch : SDL-1.2
2011-09-11 22:38:45 -04:00
Ryan C. Gordon
98f952fbc0
More Cygwin compiler warnings...
...
--HG--
branch : SDL-1.2
2011-09-11 22:31:53 -04:00
Ryan C. Gordon
07f5929948
Still fighting with calling conventions in Cygwin/MingW/VisualC...
...
--HG--
branch : SDL-1.2
2011-09-11 15:24:44 -04:00
Ryan C. Gordon
98bec7bf8e
Another shot at fixing the compiler warnings under Cygwin/MingW.
...
--HG--
branch : SDL-1.2
2011-09-11 13:23:36 -04:00
Ryan C. Gordon
314fc920c2
Patched to compile on Windows.
...
--HG--
branch : SDL-1.2
2011-09-11 10:48:36 -04:00
Ryan C. Gordon
6e00ea067e
More work on Windows build issues.
...
--HG--
branch : SDL-1.2
2011-09-11 04:38:50 -04:00
Ryan C. Gordon
b5187bc2c8
Fixed some compiler warnings on Cygwin.
...
--HG--
branch : SDL-1.2
2011-09-11 01:35:57 -04:00
Ryan C. Gordon
a4163fc517
Fixed another nasm warning, this one looking quite serious.
...
--HG--
branch : SDL-1.2
2011-09-11 00:40:21 -04:00
Ryan C. Gordon
a10e0765f5
Fixed build warnings from nasm on some Hermes blitters.
...
--HG--
branch : SDL-1.2
2011-09-11 00:33:18 -04:00
Ryan C. Gordon
4bcf292153
Disabled MMX blitters on GCC. They break the build on tons of machines now.
...
--HG--
branch : SDL-1.2
2011-09-10 23:21:19 -04:00
Ryan C. Gordon
f410d765ce
Corrected datatype used for LoadLibrary() return value.
...
--HG--
branch : SDL-1.2
2011-09-10 19:37:20 -04:00
Ryan C. Gordon
0be25621f8
Removed WIN_GetKeyboardState().
...
It causes problems on modern Windows, when a player ALT-Tab's out of a window.
When they ALT-Tab back, the keystate gets confused.
Fixes Bugzilla #659 .
--HG--
branch : SDL-1.2
2011-09-09 00:48:53 -04:00
Sam Lantinga
eec77cc7f8
Fixed bug 1278.
...
From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50111 :
Andrew Pinski 2011-08-18 02:25:15 UTC
I really doubt this is a bug in GCC but rather SDL's inline-asm.
"=X" (mmx_trace)
'X'
Any operand whatsoever is allowed.
They most likely want:
y
Any MMX register.
--HG--
branch : SDL-1.2
2011-09-06 22:45:58 -04:00
Patrice Mandin
1e0afdb9d3
Remove unused variables
...
--HG--
branch : SDL-1.2
2011-09-03 09:52:45 +02:00
Patrice Mandin
1a03229427
audio/mint/dma8: Use XBIOS Supexec instead of GEMDOS Super
...
--HG--
branch : SDL-1.2
2011-09-01 23:52:09 +02:00
Ryan C. Gordon
c40fcebcb9
Removed unused variable.
...
--HG--
branch : SDL-1.2
2011-09-01 04:31:58 -04:00
Ryan C. Gordon
930edf8186
Backport from 1.3 branch: clean up opened joysticks in SDL_JoystickQuit().
...
--HG--
branch : SDL-1.2
2011-09-01 04:31:01 -04:00
Patrice Mandin
e22549a332
video/xbios: remove __attribute__((packed))
...
--HG--
branch : SDL-1.2
2011-08-31 19:03:02 +02:00
Patrice Mandin
be690c9339
audio/mint: remove __attribute__((packed))
...
--HG--
branch : SDL-1.2
2011-08-30 23:53:53 +02:00
Patrice Mandin
cb32c5aed4
Use proper m68k defines from gcc
...
--HG--
branch : SDL-1.2
2011-08-28 19:51:27 +02:00
Patrice Mandin
129a38c101
Remove more values now defined in mintlib
...
--HG--
branch : SDL-1.2
2011-08-28 19:33:40 +02:00