mirror of https://github.com/libsdl-org/SDL.git
SDL_video.c: remove two stray line continuation chars .
This commit is contained in:
parent
168d1a9253
commit
25db127450
|
|
@ -2772,7 +2772,7 @@ SDL_Window *SDL_GetWindowFromID(SDL_WindowID id)
|
|||
}
|
||||
}
|
||||
}
|
||||
SDL_SetError("Invalid window ID"); \
|
||||
SDL_SetError("Invalid window ID");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
@ -5149,8 +5149,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)) {
|
||||
|
|
@ -5381,7 +5380,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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue