mesa: remove handcounted magic number
authorDylan Noblesmith <nobled@dreamwidth.org>
Fri, 20 Sep 2013 15:55:41 +0000 (11:55 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 24 Sep 2013 18:29:17 +0000 (11:29 -0700)
commit49f8fc64de4d06fd516f15cc77449d33f0b85714
treef0994ecb30979ad3633a30811f0b5048e7a314d2
parentea3847b12e8968c3d1644dd032f1ba1ad132e7c9
mesa: remove handcounted magic number

Also make it a compile-time error with STATIC_ASSERT.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/teximage.c