From: José Fonseca Date: Tue, 30 Dec 2008 20:12:28 +0000 (+0000) Subject: i915: Avoid ptr->int conversion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43d70a12d4cc2b930cc7e1bb1eb68326ed3697e9;p=mesa.git i915: Avoid ptr->int conversion. --- diff --git a/src/gallium/drivers/i915simple/i915_prim_vbuf.c b/src/gallium/drivers/i915simple/i915_prim_vbuf.c index 4fda1ab64f5..a8e97e7c306 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; } }