mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Revert "graphics: Adjust texel positions for consitency"
This reverts commit 816fb314a4
.
This commit is contained in:
parent
816fb314a4
commit
9fba60ca03
@ -144,7 +144,6 @@ void main(void) {
|
||||
#if defined(FILTER_SCREEN)
|
||||
pos = roundTexel(pos);
|
||||
highp vec2 texel_size = 1.0 / source_size;
|
||||
pos -= texel_size * 0.5 * scale;
|
||||
|
||||
highp vec2 p0 = pos;
|
||||
highp vec2 p1 = pos + texel_size / scale;
|
||||
|
Loading…
Reference in New Issue
Block a user