dri/nouveau: add AllocTextureImageBuffer implementation
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 4 Oct 2013 08:28:58 +0000 (04:28 -0400)
committerFrancisco Jerez <currojerez@riseup.net>
Sun, 6 Oct 2013 19:59:18 +0000 (12:59 -0700)
commit7178d6ac590211cf123254688da1a540cce6c0a9
treeb4ba689aaa9bb81901d7d050fd14421756242793
parentb3c04362b44a4eceb38c938ceb387a9c04d06973
dri/nouveau: add AllocTextureImageBuffer implementation

This fixes issues where get_rt_format would see a 0 format because the
nouveau_surface had not been properly initialized. Fixes crash on
supertuxkart startup (which still fails due to out-of-vram issues).

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