Skip to content

Commit 6a1218c

Browse files
luckyxxlslouken
authored andcommitted
Fix missing whitespace in surface extension missing error messages
1 parent 1fc0934 commit 6a1218c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/video/android/SDL_androidvulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ bool Android_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
9191
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_SURFACE_EXTENSION_NAME " extension");
9292
goto fail;
9393
} else if (!hasAndroidSurfaceExtension) {
94-
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_ANDROID_SURFACE_EXTENSION_NAME "extension");
94+
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_ANDROID_SURFACE_EXTENSION_NAME " extension");
9595
goto fail;
9696
}
9797
return true;

src/video/kmsdrm/SDL_kmsdrmvulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ bool KMSDRM_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
117117
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_SURFACE_EXTENSION_NAME " extension");
118118
goto fail;
119119
} else if (!hasDisplayExtension) {
120-
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_DISPLAY_EXTENSION_NAME "extension");
120+
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_DISPLAY_EXTENSION_NAME " extension");
121121
goto fail;
122122
}
123123

src/video/vivante/SDL_vivantevulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ bool VIVANTE_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
9898
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_SURFACE_EXTENSION_NAME " extension");
9999
goto fail;
100100
} else if (!hasDisplayExtension) {
101-
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_DISPLAY_EXTENSION_NAME "extension");
101+
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_DISPLAY_EXTENSION_NAME " extension");
102102
goto fail;
103103
}
104104
return true;

src/video/wayland/SDL_waylandvulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ bool Wayland_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
103103
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_SURFACE_EXTENSION_NAME " extension");
104104
goto fail;
105105
} else if (!hasWaylandSurfaceExtension) {
106-
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME "extension");
106+
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME " extension");
107107
goto fail;
108108
}
109109
return true;

src/video/windows/SDL_windowsvulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ bool WIN_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
9191
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_SURFACE_EXTENSION_NAME " extension");
9292
goto fail;
9393
} else if (!hasWin32SurfaceExtension) {
94-
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_WIN32_SURFACE_EXTENSION_NAME "extension");
94+
SDL_SetError("Installed Vulkan doesn't implement the " VK_KHR_WIN32_SURFACE_EXTENSION_NAME " extension");
9595
goto fail;
9696
}
9797
return true;

src/video/x11/SDL_x11vulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ bool X11_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
120120
if (hasXlibSurfaceExtension) {
121121
videoData->vulkan_xlib_xcb_library = NULL;
122122
} else if (!hasXCBSurfaceExtension) {
123-
SDL_SetError("Installed Vulkan doesn't implement either the " VK_KHR_XCB_SURFACE_EXTENSION_NAME "extension or the " VK_KHR_XLIB_SURFACE_EXTENSION_NAME " extension");
123+
SDL_SetError("Installed Vulkan doesn't implement either the " VK_KHR_XCB_SURFACE_EXTENSION_NAME " extension or the " VK_KHR_XLIB_SURFACE_EXTENSION_NAME " extension");
124124
goto fail;
125125
} else {
126126
const char *libX11XCBLibraryName = SDL_GetHint(SDL_HINT_X11_XCB_LIBRARY);

0 commit comments

Comments
 (0)