mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 09:45:09 -05:00
error message typo fix
This commit is contained in:
@@ -29,7 +29,7 @@ SDL_DrawPoint(SDL_Surface * dst, int x, int y, Uint32 color)
|
||||
{
|
||||
/* This function doesn't work on surfaces < 8 bpp */
|
||||
if (dst->format->BitsPerPixel < 8) {
|
||||
SDL_SetError("SDL_DrawLine(): Unsupported surface format");
|
||||
SDL_SetError("SDL_DrawPoint(): Unsupported surface format");
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user