fix the vulkan
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@778 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
37fa531646
commit
e1b2f40ac8
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ static int create(MwWidget handle) {
|
||||||
vulkan_t* o = malloc(sizeof(*o));
|
vulkan_t* o = malloc(sizeof(*o));
|
||||||
MwErrorEnum err;
|
MwErrorEnum err;
|
||||||
|
|
||||||
|
memset(o, 0, sizeof(*o));
|
||||||
|
|
||||||
err = vulkan_instance_setup(handle, o);
|
err = vulkan_instance_setup(handle, o);
|
||||||
if(err != MwEsuccess) {
|
if(err != MwEsuccess) {
|
||||||
printf("%s", MwGetLastError());
|
printf("%s", MwGetLastError());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue