d3d12: check for allocation-error in d3d12_bo_new
If we don't check for NULL here, we end up defererencing a NULL pointer, leading to crashes instead of reporting out-of-memory.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If we don't check for NULL here, we end up defererencing a NULL pointer, leading to crashes instead of reporting out-of-memory.