summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_state.c
diff options
context:
space:
mode:
authorJonas Maebe <[email protected]>2012-04-22 20:39:32 -0700
committerJeremy Huddleston <[email protected]>2012-04-22 20:39:32 -0700
commit8d09f4d0cc8d2ac5398c8b26638d5659429a4280 (patch)
tree16fc44ec346951876e0503e62591c95c3b10fd5f /src/gallium/drivers/r600/evergreen_state.c
parente6aad9ba04fb914a2484241f74ed0557fd1d59da (diff)
glapi: Correct size of allocated _glapi_table struct
The __glapi_gentable_set_remaining_noop() routine treats the _glapi_struct as an array of _glapi_get_dispatch_table_size() pointers, so we have to allocate _glapi_get_dispatch_table_size()*sizeof(void*) bytes rather than sizeof(struct _glapi_struct) bytes. Reviewed-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
0 files changed, 0 insertions, 0 deletions