r200: fix some cube map issues
[mesa.git] / src / mesa / drivers / dri / ffb / ffb_state.c
index 880ad8be0a856eea43e439efe564c08d6de20182..5eb8f417ffb76015bcb38c497bd48d54e50a3d21 100644 (file)
  *    David S. Miller <davem@redhat.com>
  */
 
-#include "mtypes.h"
-#include "colormac.h"
-#include "mm.h"
+#include "main/mtypes.h"
+#include "main/colormac.h"
+#include "main/mm.h"
+#include "main/extensions.h"
+#include "main/enums.h"
+
+#include "vbo/vbo.h"
+#include "tnl/tnl.h"
+#include "tnl/t_pipeline.h"
+#include "swrast/swrast.h"
+#include "swrast_setup/swrast_setup.h"
+
 #include "ffb_dd.h"
 #include "ffb_span.h"
 #include "ffb_depth.h"
 #include "ffb_tris.h"
 #include "ffb_state.h"
 #include "ffb_lock.h"
-#include "extensions.h"
-#include "enums.h"
-
-#include "swrast/swrast.h"
-#include "vbo/vbo.h"
-#include "tnl/tnl.h"
-#include "swrast_setup/swrast_setup.h"
-
-#include "tnl/t_pipeline.h"
 
 #undef STATE_TRACE
 
@@ -275,7 +275,7 @@ ffbDDStencilFuncSeparate(GLcontext *ctx, GLenum face, GLenum func,
        /* We will properly update sw/hw state when stenciling is
         * enabled.
         */
-       if (! ctx->Stencil.Enabled)
+       if (! ctx->Stencil._Enabled)
                return;
 
        stencilctl = fmesa->stencilctl;
@@ -333,7 +333,7 @@ ffbDDStencilOpSeparate(GLcontext *ctx, GLenum face, GLenum fail,
        /* We will properly update sw/hw state when stenciling is
         * enabled.
         */
-       if (! ctx->Stencil.Enabled)
+       if (! ctx->Stencil._Enabled)
                return;
 
        stencilctl = fmesa->stencilctl;