summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-01-13 11:08:26 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-01-13 11:08:26 +0000
commit185a36ae482c49411231a5d137884ea2eb1854d8 (patch)
tree290b959f8edc17035a20334d9da2a55802446b13
parentfa190e45dc067d6af13682b98b895f84406eaddf (diff)
downloadmesa-demos-185a36ae482c49411231a5d137884ea2eb1854d8.zip
mesa-demos-185a36ae482c49411231a5d137884ea2eb1854d8.tar.xz
tests/tkmap: Remove unused functions.
Trivial.
-rw-r--r--src/tests/tkmap.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/tests/tkmap.c b/src/tests/tkmap.c
index 3ded79c..f788953 100644
--- a/src/tests/tkmap.c
+++ b/src/tests/tkmap.c
@@ -40,32 +40,3 @@ static void InitMap(void)
for (i = 0; i < 9; i++)
glutSetColor(i, RGBMap[i][0], RGBMap[i][1], RGBMap[i][2]);
}
-
-static void SetFogRamp(int density, int startIndex)
-{
- int fogValues, colorValues;
- int i, j, k;
- float intensity;
-
- fogValues = 1 << density;
- colorValues = 1 << startIndex;
- for (i = 0; i < colorValues; i++) {
- for (j = 0; j < fogValues; j++) {
- k = i * fogValues + j;
- intensity = (i * fogValues + j * colorValues) / 255.0;
- glutSetColor(k, intensity, intensity, intensity);
- }
- }
-}
-
-static void SetGreyRamp(void)
-{
- int i;
- float intensity;
-
- for (i = 0; i < 255; i++) {
- intensity = i / 255.0;
- glutSetColor(i, intensity, intensity, intensity);
- }
-}
-