summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2008-12-30 20:12:28 +0000
committerJosé Fonseca <jfonseca@vmware.com>2008-12-31 13:02:06 +0000
commit43d70a12d4cc2b930cc7e1bb1eb68326ed3697e9 (patch)
treec3f47f94058457831c539c2bf4accedcea15b97f /src
parent2f24bc698412b4635422a52f9d7073ce7854dceb (diff)
i915: Avoid ptr->int conversion.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915simple/i915_prim_vbuf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915simple/i915_prim_vbuf.c b/src/gallium/drivers/i915simple/i915_prim_vbuf.c
index 4fda1ab64f..a8e97e7c30 100644
--- a/src/gallium/drivers/i915simple/i915_prim_vbuf.c
+++ b/src/gallium/drivers/i915simple/i915_prim_vbuf.c
@@ -197,9 +197,7 @@ i915_vbuf_render_set_primitive( struct vbuf_render *render,
i915_render->fallback = 0;
return TRUE;
default:
- assert((int)"Error unkown primtive type" & 0);
- /* Actually, can handle a lot more just fine... Fixme.
- */
+ /* FIXME: Actually, can handle a lot more just fine... */
return FALSE;
}
}