Added missing return values
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404181
This commit is contained in:
parent
c635254fa1
commit
a3226cf7d3
1 changed files with 4 additions and 0 deletions
|
@ -1292,6 +1292,8 @@ GL_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
|
|||
SDL_memcpy(src, tmp, length);
|
||||
}
|
||||
SDL_stack_free(tmp);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -1321,6 +1323,8 @@ GL_RenderWritePixels(SDL_Renderer * renderer, const SDL_Rect * rect,
|
|||
|
||||
data->glReadPixels(rect->x, rect->y+rect->h-1, rect->w, rect->h,
|
||||
format, type, pixels);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue