Skip to content

arb_copy_buffer: NULL check for glMapBuffer outcome

test_copy checks if the outcome of glMapBuffer is the same that some expected data. But we found that for drivers failing on returnign the proper data, it is possible/likely that glMapBuffer would just return NULL. So it would be better to check for NULL to avoid a crash, as technically the driver is not crashing, but the test (even if the reason glMapBuffer still needs to be investigated).

Merge request reports