+1
-1
src/audio/SDL_audio.c
+1
-1
src/audio/SDL_audio.c
···
1588
1588
}
1589
1589
1590
1590
if (spec->channels == 0) {
1591
-
spec->channels = recording ? DEFAULT_AUDIO_RECORDING_CHANNELS : DEFAULT_AUDIO_PLAYBACK_CHANNELS;;
1591
+
spec->channels = recording ? DEFAULT_AUDIO_RECORDING_CHANNELS : DEFAULT_AUDIO_PLAYBACK_CHANNELS;
1592
1592
1593
1593
const char *hint = SDL_GetHint(SDL_HINT_AUDIO_CHANNELS);
1594
1594
if (hint) {
+1
-1
src/hidapi/libusb/hid.c
+1
-1
src/hidapi/libusb/hid.c
+1
-1
src/hidapi/linux/hid.c
+1
-1
src/hidapi/linux/hid.c
+1
-1
src/render/vulkan/SDL_render_vulkan.c
+1
-1
src/render/vulkan/SDL_render_vulkan.c
···
688
688
if (!VULKAN_FindMemoryTypeIndex(rendererData, memoryRequirements.memoryTypeBits, requiredMemoryProps, desiredMemoryProps, &memoryTypeIndex)) {
689
689
VULKAN_DestroyBuffer(rendererData, bufferOut);
690
690
SDL_LogError(SDL_LOG_CATEGORY_RENDER, "VULKAN_FindMemoryTypeIndex failed.\n");
691
-
return VK_ERROR_UNKNOWN;;
691
+
return VK_ERROR_UNKNOWN;
692
692
}
693
693
694
694
VkMemoryAllocateInfo memoryAllocateInfo = { 0 };
+3
-3
src/video/SDL_video.c
+3
-3
src/video/SDL_video.c
···
5048
5048
*interval = 0;
5049
5049
5050
5050
if (!_this) {
5051
-
return SDL_SetError("no video driver");;
5051
+
return SDL_SetError("no video driver");
5052
5052
} else if (SDL_GL_GetCurrentContext() == NULL) {
5053
-
return SDL_SetError("no current context");;
5053
+
return SDL_SetError("no current context");
5054
5054
} else if (_this->GL_GetSwapInterval) {
5055
5055
return _this->GL_GetSwapInterval(_this, interval);
5056
5056
} else {
5057
-
return SDL_SetError("not implemented");;
5057
+
return SDL_SetError("not implemented");
5058
5058
}
5059
5059
}
5060
5060