summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_draw.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-10 14:23:27 -0600
committerBrian Paul <[email protected]>2008-07-10 14:23:27 -0600
commitbae90edfdae0eac6c844ede21285453ef96a4f6e (patch)
tree70bc7159748ab1d1c42277664ac466a0cd2e3354 /src/mesa/state_tracker/st_draw.c
parentf5cdc657b244ec7840cff1f36892f105b4aa2ef2 (diff)
gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using the aux draw module
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r--src/mesa/state_tracker/st_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c
index a57d7b6a7aa..30c2bdb723f 100644
--- a/src/mesa/state_tracker/st_draw.c
+++ b/src/mesa/state_tracker/st_draw.c
@@ -447,6 +447,7 @@ st_draw_vbo(GLcontext *ctx,
}
+#if FEATURE_feedback || FEATURE_drawpix
/**
* Set the (private) draw module's post-transformed vertex format when in
@@ -657,6 +658,7 @@ st_feedback_draw_vbo(GLcontext *ctx,
}
}
+#endif /* FEATURE_feedback || FEATURE_drawpix */
void st_init_draw( struct st_context *st )