summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-18 16:05:49 +0100
committerBrian <[email protected]>2007-08-18 16:05:49 +0100
commit1f026d98dd77b6d26cc76946d92f69a9e6091b8e (patch)
tree24d7b0a41210cf848f3f77b1ea03bce6e94acbd0 /src/mesa/state_tracker/st_context.h
parentb3f067e8593b9fda0474041f32479b20cd64e728 (diff)
Create a default vertex attribute buffer which mirrors ctx->Current.Attrrib[]
Used when the vertex shader references attributes which aren't present in VBOs.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 25ed20a5f84..35774a790e2 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -104,6 +104,8 @@ struct st_context
struct st_state_flags dirty;
GLfloat polygon_offset_scale; /* ?? */
+
+ struct pipe_buffer_handle *default_attrib_buffer;
};