aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-02-19 16:00:53 -0500
committerMarge Bot <[email protected]>2020-03-06 01:06:14 +0000
commit9dbf5ec9f7844dda9d2473a3168e3f8b0009a66d (patch)
tree71c2c7a9d9a3bcaf6c2820d86f678f49b9e1103c /src/mesa/main/glthread.h
parent313e98fb8111c21fc89d2422d50dc12daec4efc6 (diff)
glthread: use int instead of size_t where it's OK
Reviewed-by: Timothy Arceri <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r--src/mesa/main/glthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h
index 59cb95feb4a..3d1c3ef1983 100644
--- a/src/mesa/main/glthread.h
+++ b/src/mesa/main/glthread.h
@@ -60,7 +60,7 @@ struct glthread_batch
struct gl_context *ctx;
/** Amount of data used by batch commands, in bytes. */
- size_t used;
+ int used;
/** Data contained in the command buffer. */
uint8_t buffer[MARSHAL_MAX_CMD_SIZE];