Demos (master): textures: added another filter mode

Brian Paul brianp at kemper.freedesktop.org
Tue Sep 14 21:11:26 UTC 2010


Module: Demos
Branch: master
Commit: b5b25faa22a819054ea235409dbe894acc16e7fa
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=b5b25faa22a819054ea235409dbe894acc16e7fa

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Sep 14 15:10:58 2010 -0600

textures: added another filter mode

---

 src/demos/textures.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/demos/textures.c b/src/demos/textures.c
index 121c56b..ca72fc4 100644
--- a/src/demos/textures.c
+++ b/src/demos/textures.c
@@ -39,7 +39,7 @@ static const char *DefaultFiles[] = {
 };
 
 
-#define NUM_FILTERS 5
+#define NUM_FILTERS 6
 static
 struct filter {
    GLenum min, mag;
@@ -48,6 +48,7 @@ struct filter {
    { GL_NEAREST, GL_NEAREST, "Nearest,Nearest" },
    { GL_LINEAR, GL_LINEAR, "Linear,Linear" },
    { GL_NEAREST_MIPMAP_NEAREST, GL_NEAREST, "NearestMipmapNearest,Nearest" },
+   { GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR, "NearestMipmapNearest,Linear" },
    { GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR, "LinearMipmapNearest,Linear" },
    { GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR, "LinearMipmapLinear,Linear" }
 };




More information about the mesa-commit mailing list