summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-21 20:37:23 +0100
committerJakob Bornecrantz <[email protected]>2010-05-21 21:25:07 +0100
commita93f9f343a64ce91587af66761399f9d4c180015 (patch)
tree02fe536058d72077e38534e9388898cccac4f416 /src/mesa/state_tracker/st_context.h
parent5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (diff)
gallium: Fix invalidate framebuffer with old libGL libraries
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 987516f2482..a578143abc8 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -79,6 +79,12 @@ struct st_context
struct draw_stage *selection_stage; /**< For GL_SELECT rendermode */
struct draw_stage *rastpos_stage; /**< For glRasterPos */
+
+ /* On old libGL's for linux we need to invalidate the drawables
+ * on glViewpport calls, this is set via a option.
+ */
+ boolean invalidate_on_gl_viewport;
+
/* Some state is contained in constant objects.
* Other state is just parameter values.
*/