nouveau: fix glCompressedTexImage
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 13 Sep 2014 22:14:46 +0000 (18:14 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Sep 2014 02:15:49 +0000 (22:15 -0400)
commitd78b533c29bcd607c5e2d8b51aec6a0da50a3b5b
treeb035c185fe56d29190342842964c87b02c443f64
parent0147c10c5f00b43696ba660aab604d674a75e83c
nouveau: fix glCompressedTexImage

mesa_texstore expects pixel data, not compressed data. For compressed
textures, we want to just copy the bits in without any conversion.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/nouveau/nouveau_texture.c