demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D texture
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 29 Jun 2008 15:24:32 +0000 (17:24 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sun, 29 Jun 2008 15:34:14 +0000 (17:34 +0200)
commit0918023c28775ef6126e9f695a976ff199cd9a13
tree0f8676134d130b49065e430cca539660ecd86065
parentbc775066aa9bbbf0cf5f1d5ced81f81e4cb0b731
demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D texture

The operation doesn't really make sense. It triggered a bug in the r300 DRI
driver (and possibly other drivers that simulate 1D textures via 2D textures).
I've added an isolated test case for this bug to Piglit, so everybody wins.
progs/demos/shadowtex.c