mesa: handle PBO access error in display list mode
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 19 Oct 2011 03:20:18 +0000 (11:20 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 20 Oct 2011 03:42:54 +0000 (11:42 +0800)
commit46d5fb576a37bdd50cd4a2795b27852b4c8a8250
tree75ae076a1658d6359dca9ff9a68e27ba23766c12
parent3560027977804a3ac4ae8e6c9390f0936f7f7a1a
mesa: handle PBO access error in display list mode

Simply generate GL_INVALID_OPERATION error at display list mode. As
explained by Brian, we are going to access PBO data at compile time.
No need to defer the error at execution time.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/dlist.c