45833a148d
Prevent shadowing static variable '_this' with local paramter '_this' of SDL_CreateWindowTexture
Sylvain
2022-03-09 15:33:45 +01:00
a4a80c8607
Fix variable may be uninitialized when used here [-Wconditional-uninitialized]
Sylvain
2022-03-09 15:21:55 +01:00
04256a5372
Fix compilation (see #5313)
Sylvain
2022-03-09 15:12:25 +01:00
0983fcee5e
fix memory leak in D3D11_CreateRenderer
pionere
2022-02-05 12:28:37 +01:00
3f8b450de2
extend the code hidden by SDL_HAVE_YUV
pionere
2022-02-05 12:22:34 +01:00
ce1883e1e7
fix compile error with disabled SDL_HAVE_YUV (vita) - UpdateTextureYUV is not defined if SDL_HAVE_YUV is not defined/zero + calling SDL_free suffice if the VITA_GXM_RenderData was just allocated
pionere
2022-02-05 12:12:21 +01:00
14db417e12
Reenable getting the serial number on macOS
Sam Lantinga
2022-03-08 21:32:27 -08:00
c3ca3445bd
Prefer HIDAPI on macOS, as that has extended functionality
Sam Lantinga
2022-03-08 18:56:49 -08:00
6a787619e6
Allow reading background events for MFi controllers
Sam Lantinga
2022-03-08 18:42:13 -08:00
b064ad6ac5
Allow GL_ARB_texture_non_power_of_two environment variable to override OpenGL 2.0 check
Sam Lantinga
2022-03-08 18:14:10 -08:00
1b7669374e
Fixed the SDL controller type for USB_PRODUCT_XBOX_ONE_XINPUT_CONTROLLER
Sam Lantinga
2022-03-08 09:58:24 -08:00
94d43186f2
GameCubeAdapter: Add suppport for all rumble modes This adds support for all 3 of the gamecube controller's rumble modes Rumble: 1 Stop: 0 StopHard: 2 This is useful for applications that need the full range of support This also adds a hint to control rumble behavior, defaults 0 to maintain compatibility
Phillip Stephens
2022-02-22 00:41:15 -08:00
b946e31ec8
video: Allow unaccelerated SDL_HINT_FRAMEBUFFER_ACCELERATION renderers.
Ryan C. Gordon
2022-02-23 09:10:46 -05:00
60ddb74cfe
video: rework how we prepare a texture framebuffer.
Ryan C. Gordon
2022-02-02 12:19:37 -05:00
08d27dfd7b
SDL_openslES.c: Detect float support in runtime and use it
Wohlstand
2022-02-22 15:27:30 +03:00
293a0aa80e
opengl: If GL version >= 2.0, NPOT textures are supported, so favor them.
Ryan C. Gordon
2022-02-22 10:54:21 -05:00
9299a3e796
Workaround for crash in CoUninitialize()
Sam Lantinga
2022-02-21 16:24:45 -08:00
978fbc3250
Fixed compile warnings
Sam Lantinga
2022-02-21 12:02:44 -08:00
6c531c4334
Correct handling of sentinel events when polling without removing events
Sam Lantinga
2022-02-21 11:35:31 -08:00
d90bd261f3
wscons: Make USB keyboard input layout independent
Cacodemon345
2022-02-16 13:26:10 +06:00
9d86ec8573
Palette format: software Render Jitter in rotation (see #5143) - same fix applied for rotation with palette surfaces - allow other 8bits format (eg 332)
Sylvain
2022-02-18 09:57:10 +01:00
ceb09ee740Fixed#5143 - software Render Jitter in rotation better precision calculating rotated coordinates and interpolation
Sylvain
2022-02-17 23:11:02 +01:00
18032979d8
Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks
Sam Lantinga
2022-02-15 13:07:51 -08:00
75ffa24e3a
Software Render Jitter in rotation (bug #5143) The output surface doesn't necessarily to have even width and height.
Sylvain
2022-02-15 13:35:59 +01:00
61abc4e5b6
PSP: SDL_RenderCopyEx rotation and global scaling around the wrong way (see #bug 3070)
Sylvain
2022-02-15 11:34:50 +01:00
18b76fcc5d
Fixed bug #3070 - SDL_RenderCopyEx rotation and global scaling around the wrong way (software renderer)
Sylvain
2022-02-15 11:33:56 +01:00
3a9bbf604e
Fixed bug #5322 - register virtual input devices as SDL_Touch device because they can send SOURCE_TOUCHSCREEN events even if getSources() doesn't declare them.
Sylvain
2022-02-09 09:37:36 +01:00
59f1e2875a
Android: add debug function to display class/sources
Sylvain
2022-02-08 18:00:58 +01:00
228db35287
audio: pipewire: Tidy up formatting
Frank Praznik
2022-02-08 13:29:40 -05:00
9da9e85cba
audio: pipewire: Reset all hotplug values and pointers on shutdown
Frank Praznik
2022-02-08 12:59:01 -05:00
54304b971d
Fix rotation direction and center point on PSP
Wouter Wijsman
2022-02-08 18:31:43 +01:00
2b572dff88
Make RenderCopyEx rotate around center
Wouter Wijsman
2022-02-08 18:03:11 +01:00
2df2da11f6
Android: handleMotionEvent() is checking for SOURCE_JOYSTICK. So don't handle DPAD GAMEPAD (see #5322, #2718)
Sylvain
2022-02-08 17:51:40 +01:00
1fc5dba3d5
Android: test for SOURCE_KEYBOARD / SOURCE_MOUSE. Don't compare to 0, since there are several bits (see #5322, #2718)
Sylvain
2022-02-08 17:41:17 +01:00
7935cfacc5
SDL_mfijoystick.m: use __typeof instead of typeof.
Ozkan Sezer
2022-02-08 18:55:10 +03:00