r100: fix texture_from_pixmap and compiz.
authorDave Airlie <airlied@redhat.com>
Fri, 20 Nov 2009 01:45:43 +0000 (11:45 +1000)
committerDave Airlie <airlied@itt42.(none)>
Fri, 20 Nov 2009 01:47:00 +0000 (11:47 +1000)
commitf8ea5318200c1ed839fc387b16a57c8d9969974b
tree846bcd811e862dccb5f1886ae3c3d19773f3cf52
parent8b808d50e2f4be57c3a245afea462540dab1484e
r100: fix texture_from_pixmap and compiz.

r100 state emission has separate rect and non-rect states,
if we are doing TFP for a TEXTURE_2D we shouldn't use the rect
states as they won't get emitted properly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/radeon/radeon_texstate.c