diff options
author | Vladimir Dergachev <[email protected]> | 2005-07-02 01:09:10 +0000 |
---|---|---|
committer | Vladimir Dergachev <[email protected]> | 2005-07-02 01:09:10 +0000 |
commit | c1c684b0f3860099b9e6e77df4451bb61474736b (patch) | |
tree | 66c96ed66eba77123bf5ad78762c99e19bc8f5db /src/mesa/drivers/dri/r300/r300_state.c | |
parent | 666dcaaf05cd6f2f3e21753a16973d6de50634f0 (diff) |
Expose the fact that we do not do either selection of feedback buffers - either with software or hardware rendering.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_state.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index c3fb5fdce60..2280be36560 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -2272,6 +2272,13 @@ void r300InitState(r300ContextPtr r300) r300ResetHwState(r300); } +static void r300RenderMode( GLcontext *ctx, GLenum mode ) +{ + r300ContextPtr rmesa = R300_CONTEXT(ctx); + WARN_ONCE("TODO: fallback properly when rendering mode is not GL_RENDER\n" + "\tThe way things are now neither selection nor feedback modes work\n") +// FALLBACK( rmesa, R300_FALLBACK_RENDER_MODE, (mode != GL_RENDER) ); +} /** * Initialize driver's state callback functions @@ -2307,5 +2314,7 @@ void r300InitStateFuncs(struct dd_function_table* functions) functions->PolygonOffset = r300PolygonOffset; functions->PolygonMode = r300PolygonMode; + + functions->RenderMode = r300RenderMode; } |