Skip to content

Commit

Permalink
3DS: Use linear GPU texture downscaling for better legibility in hi-r…
Browse files Browse the repository at this point in the history
…es games
  • Loading branch information
Cruel authored and sev- committed May 17, 2016
1 parent 7b8db0b commit 68a15b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/platform/3ds/sprite.cpp
Expand Up @@ -69,7 +69,7 @@ void Sprite::create(uint16 width, uint16 height, const Graphics::PixelFormat &f)
if (width && height) {
pixels = linearAlloc(h * pitch);
C3D_TexInit(&texture, w, h, GPU_RGBA8);
C3D_TexSetFilter(&texture, GPU_LINEAR, GPU_NEAREST);
C3D_TexSetFilter(&texture, GPU_LINEAR, GPU_LINEAR);
assert(pixels && texture.data);
clear();
}
Expand Down

0 comments on commit 68a15b9

Please sign in to comment.