summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2008-06-30 00:51:10 +0200
committerNicolai Haehnle <nhaehnle@gmail.com>2008-06-30 00:51:10 +0200
commit479e7c4aae4241ca7c304ce9853238c3d1947fff (patch)
tree8091defcb0b41e25d6cb8e1f4b8d89211e32e470
parent12d494f3bff88cea8be1c78293e5dfd70a78e6b7 (diff)
texturing/lodbias: Aesthetics and a todo note (too lazy/tired right now).
-rw-r--r--tests/texturing/lodbias.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/texturing/lodbias.c b/tests/texturing/lodbias.c
index 45123ef2d..87390ff45 100644
--- a/tests/texturing/lodbias.c
+++ b/tests/texturing/lodbias.c
@@ -34,6 +34,10 @@
* 2. LOD bias is applied *before* clamping.
* 3. The supported bias range must be reported correctly.
*
+ * @todo
+ * Check per-texture object LOD bias (support for this was added in OpenGL 1.4).
+ * In particular, check interaction of per-texture and per-TexUnit bias.
+ * Check clamping behaviour.
*/
#include <assert.h>
@@ -249,6 +253,8 @@ static void Init(void)
piglit_require_extension("GL_EXT_texture_lod_bias");
glGetIntegerv(GL_MAX_TEXTURE_LOD_BIAS_EXT, &MaxTextureLodBias);
+ if (!Automatic)
+ printf("MAX_TEXTURE_LOD_BIAS_EXT = %i\n", MaxTextureLodBias);
glGenTextures(2, Textures);