From 19fae107e98c6c977ca1f1a41337b8edb77bbcb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 10 Mar 2015 13:40:47 +0100 Subject: [PATCH] Fix VIRGL_SET_SCISSOR_MAXX_MAXY --- src/virgl_protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virgl_protocol.h b/src/virgl_protocol.h index 76f97d1..4b6f561 100644 --- a/src/virgl_protocol.h +++ b/src/virgl_protocol.h @@ -335,7 +335,7 @@ enum virgl_context_cmd { #define VIRGL_SET_SCISSOR_STATE_SIZE(x) (1 + 2 * x) #define VIRGL_SET_SCISSOR_START_SLOT 1 #define VIRGL_SET_SCISSOR_MINX_MINY(x) (2 + (x * 2)) -#define VIRGL_SET_SCISSOR_MAXX_MAXY(x) (3 + (x * 3)) +#define VIRGL_SET_SCISSOR_MAXX_MAXY(x) (3 + (x * 2)) /* resource copy region */ #define VIRGL_CMD_RESOURCE_COPY_REGION_SIZE 13