mesa: take cube faces into account in _mesa_test_proxy_teximage()
authorBrian Paul <brianp@vmware.com>
Mon, 17 Sep 2012 01:15:28 +0000 (19:15 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2012 01:49:27 +0000 (19:49 -0600)
commita0fc7620f5e8bdfcda07f920db560e5a17535e31
treed062451cb3a7889d03df7a3674dbfe6664848282
parent90ca4c0c620ef5ca71d1a9c2e28ba65965b16d34
mesa: take cube faces into account in _mesa_test_proxy_teximage()

There will always be six cube faces so take that into consideration when
computing the texture size and comparing against the limit.
src/mesa/main/teximage.c