summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-07 22:10:47 +0200
committerMarek Olšák <[email protected]>2010-06-07 22:11:58 +0200
commitc1d91c490120b11fd1522b94d338e70fb38a82fb (patch)
tree0934f19ad8f88e1c15e3ef16344ea435b253cc8d /src
parentd095d95e77cb3a7a76962572c1056dcbb2056f07 (diff)
r300g: fix hardlock caused by an incompatible vertex format
The drivers aborts instead, I am working on a real fix...
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_defines.h2
1 files changed, 1 insertions, 1 deletions
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