From 7e282b8e62fb5d237a2e2cc94ac6a39a2f73f271 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 3 Sep 2010 12:13:47 -0400 Subject: [PATCH] r600c: add proper returns for some evergreen functions these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999 --- src/mesa/drivers/dri/r600/evergreen_fragprog.c | 5 ++++- 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; +} + -- 2.30.2