Fix one more assert being triggered due to recent changes.

This commit is contained in:
Brecht Van Lommel 2017-10-25 01:22:16 +02:00
parent 34fe3f9c06
commit 83877632a3
1 changed files with 1 additions and 1 deletions

View File

@ -296,13 +296,13 @@ public:
device_free();
host_free(data_pointer, sizeof(T)*data_size);
data_pointer = host_alloc(sizeof(T)*new_size);
assert(device_pointer == 0);
}
data_size = new_size;
data_width = width;
data_height = height;
data_depth = depth;
assert(device_pointer == 0);
return get_data();
}