diff options
| author | 2019-11-01 00:04:53 -0400 | |
|---|---|---|
| committer | 2019-11-01 00:04:53 -0400 | |
| commit | 270fede4671ab9fabdb82545a23c81915c543155 (patch) | |
| tree | 757a6e5bbebd3ff93b07f3e516941a0ede95ea90 /frontends/sdl | |
| parent | 6830c84690b7d6526b1986ebc47ce15312fefdec (diff) | |
| download | cetris-270fede4671ab9fabdb82545a23c81915c543155.tar.gz cetris-270fede4671ab9fabdb82545a23c81915c543155.tar.bz2 cetris-270fede4671ab9fabdb82545a23c81915c543155.zip | |
start work on new opengl frontend
Diffstat (limited to 'frontends/sdl')
| -rw-r--r-- | frontends/sdl/cetris_sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |