summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r--src/mesa/main/glthread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h
index c38fef32fa0..98ae11509a6 100644
--- a/src/mesa/main/glthread.h
+++ b/src/mesa/main/glthread.h
@@ -94,14 +94,14 @@ struct glthread_batch
struct glthread_batch *next;
/**
- * Points to the first command in the batch.
+ * Amount of data used by batch commands, in bytes.
*/
- uint8_t *buffer;
+ size_t used;
/**
- * Amount of data used by batch commands, in bytes.
+ * Data contained in the command buffer.
*/
- size_t used;
+ uint8_t buffer[MARSHAL_MAX_CMD_SIZE];
};
void _mesa_glthread_init(struct gl_context *ctx);