Skip to content

Commit

Permalink
Fix #797 Sokol rendering is blurry
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuusweetfish committed Mar 17, 2019
1 parent b09049e commit b67e4db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/system/sokol_gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ void sokol_gfx_init(int w, int h, int sx, int sy, bool integer_scale, bool portr
.width = 2*sokol_gfx.fb_width,
.height = 2*sokol_gfx.fb_height,
.pixel_format = SG_PIXELFORMAT_RGBA8,
.min_filter = SG_FILTER_LINEAR,
.mag_filter = SG_FILTER_LINEAR,
.min_filter = SG_FILTER_NEAREST,
.mag_filter = SG_FILTER_NEAREST,
.wrap_u = SG_WRAP_CLAMP_TO_EDGE,
.wrap_v = SG_WRAP_CLAMP_TO_EDGE
});
Expand Down

0 comments on commit b67e4db

Please sign in to comment.