diff options
author | Brian Paul <[email protected]> | 2015-07-23 07:47:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-07-23 20:19:51 -0600 |
commit | dd86fbeaaa136c4ddfd255286f4975d869e799a0 (patch) | |
tree | 3eb1d4e7900e144baf91588e147844aae8d6af54 /src/mesa/main/remap.c | |
parent | 43b69aad195f5abfc2c8c75bfa2ff31e5b99fbab (diff) |
mesa: fix _mesa_error() compiler warnings in shaderapi.c
Fix many instances of:
main/shaderapi.c: In function '_mesa_GetSubroutineUniformLocation':
main/shaderapi.c:2176:7: warning: format not a string literal and no format arguments [-Wformat-security]
_mesa_error(ctx, GL_INVALID_OPERATION, api_name);
^
Ideally, many of these error messages should be improved to indicate
which argument is incorrect as we do in other parts of Mesa.
Reviewed-by: Kai Wasserbäch <[email protected]>
Tested-by: Kai Wasserbäch <[email protected]>
Diffstat (limited to 'src/mesa/main/remap.c')
0 files changed, 0 insertions, 0 deletions