OSDN Git Service

nouveau: always enable at least one RC
[android-x86/external-mesa.git] / src / mesa / drivers / dri / nouveau / nv20_state_frag.c
index 492ecdc..2c5c2db 100644 (file)
@@ -67,5 +67,5 @@ nv20_emit_frag(struct gl_context *ctx, int emit)
        PUSH_DATA (push, in >> 32);
 
        BEGIN_NV04(push, NV20_3D(RC_ENABLE), 1);
-       PUSH_DATA (push, n);
+       PUSH_DATA (push, MAX2(1, n));
 }