From c1d91c490120b11fd1522b94d338e70fb38a82fb Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 7 Jun 2010 22:10:47 +0200 Subject: r300g: fix hardlock caused by an incompatible vertex format The drivers aborts instead, I am working on a real fix... --- src/gallium/drivers/r300/r300_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r300') diff --git a/src/gallium/drivers/r300/r300_defines.h b/src/gallium/drivers/r300/r300_defines.h index 83c9ec7e399..565a2f3e0e9 100644 --- a/src/gallium/drivers/r300/r300_defines.h +++ b/src/gallium/drivers/r300/r300_defines.h @@ -30,7 +30,7 @@ #define R300_RESOURCE_FLAG_TRANSFER PIPE_RESOURCE_FLAG_DRV_PRIV -#define R300_INVALID_FORMAT (~0) +#define R300_INVALID_FORMAT 0xffff /* XXX: this is just a bandaid on larger problems in * r300_screen_buffer.h which doesn't seem to be fully ported to -- cgit v1.2.3