diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-03-31 12:01:16 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-05-12 12:12:57 +0800 |
commit | bcce57c2e9a1d9b203dba8fe13480889e6d19c89 (patch) | |
tree | e974365e0635003a159483fa86d49c05861d39dd /src/mesa/state_tracker/st_cb_feedback.c | |
parent | 14a92b26ff76550c5010ddf8bcbf5226dae5183f (diff) |
st/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular.
Make st_cb_feedback.h FEATURE_feedback aware and st_cb_rastpos.h
FEATURE_rastpos aware. Move creation of selection/feedback draw context
to st_init_draw.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_feedback.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_feedback.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_feedback.c b/src/mesa/state_tracker/st_cb_feedback.c index c85d3da84a..e57730b5ec 100644 --- a/src/mesa/state_tracker/st_cb_feedback.c +++ b/src/mesa/state_tracker/st_cb_feedback.c @@ -54,6 +54,8 @@ #include "draw/draw_pipe.h" +#if FEATURE_feedback + /** * This is actually used for both feedback and selection. */ @@ -302,3 +304,5 @@ void st_init_feedback_functions(struct dd_function_table *functions) { functions->RenderMode = st_RenderMode; } + +#endif /* FEATURE_feedback */ |