diff options
author | Ian Romanick <[email protected]> | 2014-06-10 10:41:32 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-06-11 11:26:05 -0700 |
commit | 014d45f137b484e4fc24722e77e4a2a15cc04031 (patch) | |
tree | 30a0ae32f6101fd4a0b4f2df8847c252cce53d02 /src/mesa/main/uniforms.c | |
parent | 0d8944866293c147cb043322cc68e13136278ae5 (diff) |
glsl: Store gl_uniform_driver_storage::format as the actual type
And delete the incorrect comment.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main/uniforms.c')
-rw-r--r-- | src/mesa/main/uniforms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index 1daade42838..f450173af27 100644 --- a/src/mesa/main/uniforms.c +++ b/src/mesa/main/uniforms.c @@ -112,7 +112,7 @@ _mesa_uniform_attach_driver_storage(struct gl_uniform_storage *uni, uni->driver_storage[uni->num_driver_storage].element_stride = element_stride; uni->driver_storage[uni->num_driver_storage].vector_stride = vector_stride; - uni->driver_storage[uni->num_driver_storage].format = (uint8_t) format; + uni->driver_storage[uni->num_driver_storage].format = format; uni->driver_storage[uni->num_driver_storage].data = data; uni->num_driver_storage++; |