diff options
Diffstat (limited to 'render.c')
-rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ void r_draw_set_color(int r, int g, int b, int a) void r_draw_fill_rect(int x, int y, int w, int h) { const SDL_Rect rect = { x, y, w, h }; - if (SDL_RenderDrawRect(renderer, &rect)) + if (SDL_RenderFillRect(renderer, &rect)) fprintf(stderr, "%s\n", SDL_GetError()); } |