From 2ed5062950890add2d821b846959ffacd128e875 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 26 May 2025 01:41:47 +0300
Subject: [PATCH] SDL_video.c: remove two stray line continuation chars .
(cherry picked from commit 25db127450a7e2e5d03a5eb4e2e032db988289fe)
---
src/video/SDL_video.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 8932d1e1a9adf..d3774788fc99c 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -2761,7 +2761,7 @@ SDL_Window *SDL_GetWindowFromID(SDL_WindowID id)
}
}
}
- SDL_SetError("Invalid window ID"); \
+ SDL_SetError("Invalid window ID");
return NULL;
}
@@ -5032,8 +5032,7 @@ bool SDL_GL_GetAttribute(SDL_GLAttr attr, int *value)
}
if (fbo_type != GL_NONE) {
glGetFramebufferAttachmentParameterivFunc(GL_FRAMEBUFFER, attachment, attachmentattrib, (GLint *)value);
- }
- else {
+ } else {
*value = 0;
}
if (glBindFramebufferFunc && (current_fbo != 0)) {
@@ -5264,7 +5263,7 @@ bool SDL_GL_SwapWindow(SDL_Window *window)
bool SDL_GL_DestroyContext(SDL_GLContext context)
{
if (!_this) {
- return SDL_UninitializedVideo(); \
+ return SDL_UninitializedVideo();
}
if (!context) {
return SDL_InvalidParamError("context");