diff options
author | Alex Deucher <[email protected]> | 2010-09-03 12:13:47 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2010-09-03 12:13:47 -0400 |
commit | 7e282b8e62fb5d237a2e2cc94ac6a39a2f73f271 (patch) | |
tree | b6d139d961c603a6e922cef62044f823d2e71ffd | |
parent | 6ddfdaead85df873de96939239013c772dca745f (diff) |
r600c: add proper returns for some evergreen functions
these weren't checked anyway.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=29999
-rw-r--r-- | src/mesa/drivers/dri/r600/evergreen_fragprog.c | 5 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r600/evergreen_vertprog.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/evergreen_fragprog.c b/src/mesa/drivers/dri/r600/evergreen_fragprog.c index b53ff424a01..0d31b1dcf10 100644 --- a/src/mesa/drivers/dri/r600/evergreen_fragprog.c +++ b/src/mesa/drivers/dri/r600/evergreen_fragprog.c @@ -814,4 +814,7 @@ GLboolean evergreenSetupFPconstants(GLcontext * ctx) } unConstOffset += pCompiledSub->NumParameters; } -}
\ No newline at end of file + + return GL_TRUE; +} + diff --git a/src/mesa/drivers/dri/r600/evergreen_vertprog.c b/src/mesa/drivers/dri/r600/evergreen_vertprog.c index 4f3db00c7d2..bdd9a9eb121 100644 --- a/src/mesa/drivers/dri/r600/evergreen_vertprog.c +++ b/src/mesa/drivers/dri/r600/evergreen_vertprog.c @@ -733,4 +733,7 @@ GLboolean evergreenSetupVPconstants(GLcontext * ctx) } unConstOffset += pCompiledSub->NumParameters; } -}
\ No newline at end of file + + return GL_TRUE; +} + |