gallium: added null ptr check

This commit is contained in:
Brian Paul
2008-04-25 15:21:00 -06:00
parent 9b44f5a755
commit 4c50969334
+1 -1
View File
@@ -1373,7 +1373,7 @@ copy_image_data_to_texture(struct st_context *st,
pipe_texture_release(&stImage->pt);
}
else {
else if (stImage->base.Data) {
assert(stImage->base.Data != NULL);
/* More straightforward upload.