summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-09-03 12:13:47 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-09-03 12:13:47 -0400
commit7e282b8e62fb5d237a2e2cc94ac6a39a2f73f271 (patch)
treeb6d139d961c603a6e922cef62044f823d2e71ffd /src/mesa/drivers
parent6ddfdaead85df873de96939239013c772dca745f (diff)
r600c: add proper returns for some evergreen functions
these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r600/evergreen_fragprog.c5
-rw-r--r--src/mesa/drivers/dri/r600/evergreen_vertprog.c5
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 b53ff424a0..0d31b1dcf1 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 4f3db00c7d..bdd9a9eb12 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;
+}
+