progs/tests: Use compressed texture in mipmap_comp_tests
authorJakob Bornecrantz <jakob@vmware.com>
Sat, 4 Jul 2009 14:01:45 +0000 (16:01 +0200)
committerJakob Bornecrantz <jakob@vmware.com>
Sat, 4 Jul 2009 14:01:45 +0000 (16:01 +0200)
progs/tests/mipmap_comp_tests.c

index 080b81cba0ee50a79aa048a5a399223588423fe4..e865b30ad0f3371301fdab4ea74ae8594e0d3974 100644 (file)
@@ -131,7 +131,9 @@ makeImage(int level, int width, int height)
       }
    }
 
-   glTexImage2D(GL_TEXTURE_2D, level, 3, width, height, 0,
+   glTexImage2D(GL_TEXTURE_2D, level,
+                GL_COMPRESSED_RGB_S3TC_DXT1_EXT,
+                width, height, 0,
                 GL_RGB, GL_UNSIGNED_BYTE, img);
 }