r600c: add proper returns for some evergreen functions
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 3 Sep 2010 16:13:47 +0000 (12:13 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 3 Sep 2010 16:13:47 +0000 (12:13 -0400)
these weren't checked anyway.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=29999

src/mesa/drivers/dri/r600/evergreen_fragprog.c
src/mesa/drivers/dri/r600/evergreen_vertprog.c

index b53ff424a01dde282c5440c821125d094417761a..0d31b1dcf107d5023b4b3a83eb61e450e7526e3b 100644 (file)
@@ -814,4 +814,7 @@ GLboolean evergreenSetupFPconstants(GLcontext * ctx)
         }
         unConstOffset += pCompiledSub->NumParameters;
     }
-}
\ No newline at end of file
+
+    return GL_TRUE;
+}
+
index 4f3db00c7d2b71169ef1cd7cd2b3914d0bf17d03..bdd9a9eb121bd848b28a6107cdd36e3604b1b802 100644 (file)
@@ -733,4 +733,7 @@ GLboolean evergreenSetupVPconstants(GLcontext * ctx)
         }
         unConstOffset += pCompiledSub->NumParameters;
     }
-}
\ No newline at end of file
+
+    return GL_TRUE;
+}
+