i915g: don't validate a NULL vbo
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 5 Mar 2011 22:17:56 +0000 (23:17 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Mar 2011 21:47:47 +0000 (22:47 +0100)
commitb0dd74aaf730f59d5d29db71a3617ab9eb1cb62f
treeaf7dc2088438db8d679faa7dbd4c377c7cab9556
parent7dcf019af2e76a4c6e0391c3c5e1d50966367df8
i915g: don't validate a NULL vbo

With the new clear code this is possible (if the app call glClear
before drawing the first primitive).

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_state_emit.c