From 270fede4671ab9fabdb82545a23c81915c543155 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 1 Nov 2019 00:04:53 -0400 Subject: start work on new opengl frontend --- frontends/sdl/cetris_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/sdl') diff --git a/frontends/sdl/cetris_sdl.c b/frontends/sdl/cetris_sdl.c index 35165c7..89c1f47 100644 --- a/frontends/sdl/cetris_sdl.c +++ b/frontends/sdl/cetris_sdl.c @@ -211,7 +211,7 @@ void draw_block(cetris_ui *ui, int x, int y, int width, int height, int mino, in } else { SDL_Rect b = {x + 1, y + 1, width - 1, height - 1}; SDL_Color c = mino_colors[mino]; - //SDL_SetRenderDrawColor(ui->render, c.r, c.g, c.b, alpha); + SDL_SetRenderDrawColor(ui->render, c.r, c.g, c.b, alpha); SDL_RenderFillRect(ui->render, &b); SDL_RenderDrawRect(ui->render, &b); SDL_SetRenderDrawColor(ui->render, off.r, off.g, off.b, off.a); -- cgit v1.2.3-101-g0448