[Mesa-dev] [PATCH] mesa: check if GL_ARB_copy_image is enabled in _mesa_CopyImageSubData()

2014-08-15 Thread Brian Paul
Generate a GL error and return rather than crashing on a null ctx-Driver.CopyImageSubData pointer (gallium). This allows apitraces with glCopyImageSubData() calls to continue rather than crash. Plus, fix a comment typo. --- src/mesa/main/copyimage.c |8 +++- 1 file changed, 7

Re: [Mesa-dev] [PATCH] mesa: check if GL_ARB_copy_image is enabled in _mesa_CopyImageSubData()

2014-08-15 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand jason.ekstr...@intel.com On Aug 15, 2014 6:43 AM, Brian Paul bri...@vmware.com wrote: Generate a GL error and return rather than crashing on a null ctx-Driver.CopyImageSubData pointer (gallium). This allows apitraces with glCopyImageSubData() calls to continue