diff options
author | Brian Paul <[email protected]> | 2012-05-08 11:40:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-05-08 12:12:03 -0600 |
commit | c55ebc3e3e556a5bf5cd78cee2807f4cbb6f626a (patch) | |
tree | 2fbc47c38e7e2cbe02dd76136edf71ca96b063d1 | |
parent | ad5e3609d4efd320dae87c3178f191ee0a3ce4ed (diff) |
vbo: add some comments
-rw-r--r-- | src/mesa/vbo/vbo_save.c | 3 | ||||
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save.c b/src/mesa/vbo/vbo_save.c index 040c9b7a95a..7a97d3c6567 100644 --- a/src/mesa/vbo/vbo_save.c +++ b/src/mesa/vbo/vbo_save.c @@ -49,6 +49,9 @@ static void vbo_save_callback_init( struct gl_context *ctx ) +/** + * Called at context creation time. + */ void vbo_save_init( struct gl_context *ctx ) { struct vbo_context *vbo = vbo_context(ctx); diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 13604333e95..74f5dc9ce68 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -1506,6 +1506,9 @@ vbo_print_vertex_list(struct gl_context *ctx, void *data) } +/** + * Called during context creation/init. + */ static void _save_current_init(struct gl_context *ctx) { @@ -1529,7 +1532,7 @@ _save_current_init(struct gl_context *ctx) /** - * Initialize the display list compiler + * Initialize the display list compiler. Called during context creation. */ void vbo_save_api_init(struct vbo_save_context *save) |