diff options
author | Dennis Kasprzyk <onestone@opencompositing.org> | 2008-03-05 16:16:47 +0100 |
---|---|---|
committer | Dennis kasprzyk <onestone@opencompositing.org> | 2008-03-05 16:16:47 +0100 |
commit | 00540149a38f6b98ef66c1f4b3652077597d1c99 (patch) | |
tree | 6b5d0605513aac427c16950816c7ac1da5d5a31f | |
parent | c13eb67a4c79557e3fa3beaf8e239b38b3979d43 (diff) | |
download | bicubic-00540149a38f6b98ef66c1f4b3652077597d1c99.tar.gz bicubic-00540149a38f6b98ef66c1f4b3652077597d1c99.tar.bz2 |
Don't interpolate lookup texture values.
-rw-r--r-- | bicubic.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -289,8 +289,8 @@ generateLookupTexture (CompScreen *s, GLenum format) glTexImage1D (GL_TEXTURE_1D, 0, format, 128, 0, GL_RGBA, GL_FLOAT, values); - glTexParameteri (GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexParameteri (GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri (GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + glTexParameteri (GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri (GL_TEXTURE_1D, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri (GL_TEXTURE_1D, GL_TEXTURE_WRAP_T, GL_REPEAT); |