projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swrast: add dri2ConfigQueryExtension to the correct extension list
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
nouveau
/
nv10_state_raster.c
diff --git
a/src/mesa/drivers/dri/nouveau/nv10_state_raster.c
b/src/mesa/drivers/dri/nouveau/nv10_state_raster.c
index ffde87ab27be4b4096fe329b04a7668378f18f7f..d537f7bc22901e8a1321dc8710c0ffd39a085520 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nv10_state_raster.c
+++ b/
src/mesa/drivers/dri/nouveau/nv10_state_raster.c
@@
-145,7
+145,7
@@
nv10_emit_stencil_func(struct gl_context *ctx, int emit)
struct nouveau_pushbuf *push = context_push(ctx);
BEGIN_NV04(push, NV10_3D(STENCIL_ENABLE), 1);
struct nouveau_pushbuf *push = context_push(ctx);
BEGIN_NV04(push, NV10_3D(STENCIL_ENABLE), 1);
- PUSH_DATAb(push,
ctx->Stencil._Enabled
);
+ PUSH_DATAb(push,
_mesa_stencil_is_enabled(ctx)
);
BEGIN_NV04(push, NV10_3D(STENCIL_FUNC_FUNC), 3);
PUSH_DATA (push, nvgl_comparison_op(ctx->Stencil.Function[0]));
BEGIN_NV04(push, NV10_3D(STENCIL_FUNC_FUNC), 3);
PUSH_DATA (push, nvgl_comparison_op(ctx->Stencil.Function[0]));