summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-07-18 11:24:14 -0700
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 06:19:24 -0400
commitb6c9e2bb5365de82315c6814f915e57b0c4fa444 (patch)
tree52c90df0d4cc9c12383b321bf74bfa628c232bf7 /src
parentca51f4f37e1dbf53bf7ffc0e8f612e9609e11209 (diff)
Fixed typos in the bicubic texture tables. Whoops, looks like I'm still asleep.
Diffstat (limited to 'src')
-rw-r--r--src/bicubic_table.h4
-rwxr-xr-xsrc/bicubic_table.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bicubic_table.h b/src/bicubic_table.h
index b61b9ba3..721af1af 100644
--- a/src/bicubic_table.h
+++ b/src/bicubic_table.h
@@ -1,4 +1,4 @@
-const float[] bicubic_tex = {
+static const float bicubic_tex_128[] = {
0.2, 1.0, 0.833333333333, 0.166666666667,
0.204088720925, 0.992187965834, 0.829396724701, 0.170603275299,
0.208229306439, 0.984378641369, 0.825400034587, 0.174599965413,
@@ -127,4 +127,4 @@ const float[] bicubic_tex = {
0.976574510623, 0.212420907874, 0.178655783335, 0.821344216665,
0.984378641369, 0.208229306439, 0.174599965413, 0.825400034587,
0.992187965834, 0.204088720925, 0.170603275299, 0.829396724701,
- NULL }
+ 0 };
diff --git a/src/bicubic_table.py b/src/bicubic_table.py
index 45101173..d9b3c46b 100755
--- a/src/bicubic_table.py
+++ b/src/bicubic_table.py
@@ -29,10 +29,10 @@ def printrow(l, offset):
l = texgen()
-print "const float[] bicubic_tex = {"
+print "static const float bicubic_tex_128[] = {"
for i in range(0, 512, 4):
print printrow(l, i)
-print "\tNULL }"
+print "\t0 };"