Use _mesa_select_tex_image() rather than hardcoding face 0.
authorMichel Dänzer <daenzer@vmware.com>
Mon, 5 Oct 2009 10:31:51 +0000 (12:31 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Mon, 5 Oct 2009 10:31:51 +0000 (12:31 +0200)
commit43750f1575e366e2a92b71bffceee90d7f1a2b3e
tree07afbccb50ad59058ee95d6db3538375d7d51ead
parent3856c3cc46813ad96ae6f02dec19460193d986ac
Use _mesa_select_tex_image() rather than hardcoding face 0.

Fixes crash loading a map in sauerbraten with

hwmipmap 1

in ~/.sauerbraten/config.cfg.
src/mesa/main/mipmap.c