mesa: clean-up display list mem allocation, fix NULL handling
authorBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 22:21:34 +0000 (16:21 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 22:22:24 +0000 (16:22 -0600)
commitfc995c72982b5f971741986fea7aa63bb5fcbd81
treeb71f06d52b727c96b1b460728662d0cb46d5aecf
parent77be195cf691bc7ba249f350e13c7ac06a78e9de
mesa: clean-up display list mem allocation, fix NULL handling

The -1 term in alloc_instruction() foiled later NULL pointer checks.
src/mesa/main/dlist.c