mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
d3d
This commit is contained in:
9 files changed
+4215
-5
No files matched your search
@@ -18,6 +18,7 @@
|
||||
#include "util/u_math.h"
|
||||
#include "util/slab.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include "nine_buffer_upload.h"
|
||||
|
||||
#include "nine_debug.h"
|
||||
@@ -205,6 +206,8 @@ nine_upload_create_buffer(struct nine_buffer_upload *upload,
|
||||
|
||||
buf->resource = screen->resource_create(screen, &resource);
|
||||
if (buf->resource == NULL) {
|
||||
fprintf(stderr, "NINE-UPLOAD-FAIL: resource_create(%u bayt, "
|
||||
"persistent|coherent) basarisiz\n", buffer_size);
|
||||
slab_free_st(&upload->buffer_pool, buf);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user