From: Alex Deucher Date: Fri, 3 Sep 2010 16:13:47 +0000 (-0400) Subject: r600c: add proper returns for some evergreen functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e282b8e62fb5d237a2e2cc94ac6a39a2f73f271;p=mesa.git r600c: add proper returns for some evergreen functions these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999 --- 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; +} +