diff options
author | Ian Romanick <[email protected]> | 2013-09-05 12:47:13 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-10-04 10:08:45 -0700 |
commit | 0667e2c969c0931a1feee530508f8441a11bda32 (patch) | |
tree | c3ed3123aac0794a2ed42dad782e4aa7775cba38 /src/mesa/main/pixeltransfer.c | |
parent | a50c5f8d24e860baa15dd75b44b9a20af60cebf8 (diff) |
mesa: Don't return any data for GL_SHADER_BINARY_FORMATS
We return 0 for GL_NUM_SHADER_BINARY_FORMATS, so
GL_SHADER_BINARY_FORMATS should not write any data to the application
buffer.
Fixes piglit test 'arb_get_program_binary-overrun shader'.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/pixeltransfer.c')
0 files changed, 0 insertions, 0 deletions