diff options
-rw-r--r-- | src/maze.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -244,7 +244,7 @@ _mf_maze_draw_line(SDL_Renderer *renderer, int x, int y, int w, int h, int cw) rect.h = h * cw + 2; if (SDL_RenderFillRect(renderer, &rect) < 0) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, - "Couldn't draw line: %s", SDL_GetError()); + "Couldn't render maze: %s", SDL_GetError()); return -1; } @@ -263,8 +263,7 @@ mf_maze_render(struct mf_maze *m, SDL_Renderer *r, SDL_Color *color, int cw) if (SDL_SetRenderDrawColor(r, color->r, color->g, color->b, color->a) < 0) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, - "Couldn't set drawing color: %s", - SDL_GetError()); + "Couldn't render maze: %s", SDL_GetError()); e = -1; } |