Skip to content

Commit 25db127

Browse files
committed
SDL_video.c: remove two stray line continuation chars .
1 parent 168d1a9 commit 25db127

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
@@ -2772,7 +2772,7 @@ SDL_Window *SDL_GetWindowFromID(SDL_WindowID id)
27722772
}
27732773
}
27742774
}
2775-
SDL_SetError("Invalid window ID"); \
2775+
SDL_SetError("Invalid window ID");
27762776
return NULL;
27772777
}
27782778

@@ -5149,8 +5149,7 @@ bool SDL_GL_GetAttribute(SDL_GLAttr attr, int *value)
51495149
}
51505150
if (fbo_type != GL_NONE) {
51515151
glGetFramebufferAttachmentParameterivFunc(GL_FRAMEBUFFER, attachment, attachmentattrib, (GLint *)value);
5152-
}
5153-
else {
5152+
} else {
51545153
*value = 0;
51555154
}
51565155
if (glBindFramebufferFunc && (current_fbo != 0)) {
@@ -5381,7 +5380,7 @@ bool SDL_GL_SwapWindow(SDL_Window *window)
53815380
bool SDL_GL_DestroyContext(SDL_GLContext context)
53825381
{
53835382
if (!_this) {
5384-
return SDL_UninitializedVideo(); \
5383+
return SDL_UninitializedVideo();
53855384
}
53865385
if (!context) {
53875386
return SDL_InvalidParamError("context");

0 commit comments

Comments
 (0)