nouveau: only enable stencil func if the visual has stencil bits
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 16 Aug 2014 16:48:09 +0000 (12:48 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Sep 2014 04:51:20 +0000 (00:51 -0400)
commit3c81de58512f0615df1d90aa79a22c9a44c7189e
treeeef28d9bc2fffbfa3bb06e00fdeb8b278f44aac6
parent79959e5de518c59b327a9df4a6fa80a68213b873
nouveau: only enable stencil func if the visual has stencil bits

The _Enabled property already has the relevant information.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nv04_state_raster.c
src/mesa/drivers/dri/nouveau/nv10_state_raster.c