commit | ffb8e884f7c466c36cf64bf56ff63c52a833fa66 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Fri Aug 15 07:40:47 2014 -0600 |
committer | Brian Paul <brianp@vmware.com> | Fri Aug 15 08:35:17 2014 -0600 |
tree | 8d0a039daadc64be6cefce0ee333ead3f1efc566 | |
parent | aa9d4f9d1a01fbb829571dac1cf896a8288c7286 [diff] |
mesa: check if GL_ARB_copy_image is enabled in _mesa_CopyImageSubData() 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. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>