diff options
author | Brian Paul <[email protected]> | 2010-07-16 07:36:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-07-16 07:37:30 -0600 |
commit | 41bcd8cb1ee93209d38af7b47a158d20a6c5ae11 (patch) | |
tree | 0e7ad85cdafa4d3226abbf5f7fa6eac6e1b8c335 /src | |
parent | 08f4bc07e424aaeb35eb58736fdca64b1398c190 (diff) |
mesa: return retval in _mesa_RenderObjectUnpurgeable()
Found by Vinson with static analysis.
NOTE: This is a candidate for the 7.8 branch.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/bufferobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 6115ff0680f..4e232b5731f 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -1958,7 +1958,7 @@ _mesa_RenderObjectUnpurgeable(GLcontext *ctx, GLuint name, GLenum option) if (ctx->Driver.RenderObjectUnpurgeable) retval = ctx->Driver.RenderObjectUnpurgeable(ctx, bufObj, option); - return option; + return retval; } |