Closed anarsoul closed 6 years ago
If cb is NULL, lima_set_constant_buffer() will crash because debug_printf tries to dereference cb.
Fix it by not dereferencing cb is it's NULL.
Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com
If cb is NULL, lima_set_constant_buffer() will crash because debug_printf tries to dereference cb.
Fix it by not dereferencing cb is it's NULL.
Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com