diff options
-rw-r--r-- | src/bicubic_table.h | 4 | ||||
-rwxr-xr-x | src/bicubic_table.py | 4 |
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 };" |