mesa: fix format/type check in unpack_image() for bitmaps
authorBrian Paul <brianp@vmware.com>
Mon, 19 Sep 2011 17:38:02 +0000 (11:38 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Sep 2011 17:39:30 +0000 (11:39 -0600)
commit2ce8c3553b5f7b97b110ff7d968411027c156552
tree769314c433529f7ec16e1069b1ebfcdf00ee01d4
parent20da49b2677fcf6a721b8a46e037a01e842fee61
mesa: fix format/type check in unpack_image() for bitmaps

Passing type == GL_BITMAP returns 0 while error values return -1.
This fixes glPolygonStipple being compiled into display lists.
src/mesa/main/dlist.c