diff options
author | Jordan Justen <[email protected]> | 2017-11-07 02:11:28 -0800 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-12-08 16:59:25 +1100 |
commit | c1ff99fd70cd2ceb2cac4723e4fd5efc93834746 (patch) | |
tree | 5bb90d50b14659149a3b2d467e1857af0349a61e /.gitignore | |
parent | 50c09a648f6d389cdc1657a0ccf54cf263aa8aa6 (diff) |
main: Clear shader program data whenever ProgramBinary is called
The GL_ARB_get_program_binary extension spec says:
"If ProgramBinary fails to load a binary, no error is generated, but
any information about a previous link or load of that program object
is lost."
v2:
* Re-initialize shProg->data after clear. (Jordan)
(Required after 6a72eba755fea15a0d97abb913a6315d9d32e274)
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions