diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2017-12-25 04:05:25 +0300 |
---|---|---|
committer | Dmitry Osipenko <digetx@gmail.com> | 2017-12-26 20:49:18 +0300 |
commit | b766e3d93044d70140749b55b4039ca0b1fddb2f (patch) | |
tree | 7ffa98ef37b70daf7c90b685a1fdad72c90c5fef | |
parent | cd7b8656e81bfa8bf9f101f013863ebd206b8bf9 (diff) |
Correct outside clipping
-rw-r--r-- | src/host1x-gr2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host1x-gr2d.c b/src/host1x-gr2d.c index 715e543..2b1cc29 100644 --- a/src/host1x-gr2d.c +++ b/src/host1x-gr2d.c @@ -147,7 +147,7 @@ int host1x_gr2d_clear_rect_clipped(struct tegra_stream *stream, tegra_stream_push(stream, 0x00000000); tegra_stream_push(stream, HOST1X_OPCODE_MASK(0x1e, 7)); tegra_stream_push(stream, /* controlsecond */ - (draw_outside ? 3 : 1) << 21 /* clip inside/outside */); + (draw_outside ? 3 : 2) << 21 /* clip inside/outside */); tegra_stream_push(stream, /* controlmain */ (PIX_BUF_FORMAT_BYTES(pixbuf->format) >> 1) << 16 | 1 << 6 /* srcsld */); |