mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 17:10:55 +00:00
fix the vulkan
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@778 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user