Skip to content

Commit 2ed5062

Browse files
committed
SDL_video.c: remove two stray line continuation chars .
(cherry picked from commit 25db127)
1 parent 0b0b02c commit 2ed5062

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/video/SDL_video.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@ SDL_Window *SDL_GetWindowFromID(SDL_WindowID id)
27612761
}
27622762
}
27632763
}
2764-
SDL_SetError("Invalid window ID"); \
2764+
SDL_SetError("Invalid window ID");
27652765
return NULL;
27662766
}
27672767

@@ -5032,8 +5032,7 @@ bool SDL_GL_GetAttribute(SDL_GLAttr attr, int *value)
50325032
}
50335033
if (fbo_type != GL_NONE) {
50345034
glGetFramebufferAttachmentParameterivFunc(GL_FRAMEBUFFER, attachment, attachmentattrib, (GLint *)value);
5035-
}
5036-
else {
5035+
} else {
50375036
*value = 0;
50385037
}
50395038
if (glBindFramebufferFunc && (current_fbo != 0)) {
@@ -5264,7 +5263,7 @@ bool SDL_GL_SwapWindow(SDL_Window *window)
52645263
bool SDL_GL_DestroyContext(SDL_GLContext context)
52655264
{
52665265
if (!_this) {
5267-
return SDL_UninitializedVideo(); \
5266+
return SDL_UninitializedVideo();
52685267
}
52695268
if (!context) {
52705269
return SDL_InvalidParamError("context");

0 commit comments

Comments
 (0)