Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
VS2010 buildfix
  • Loading branch information
TheSpydog committed Jul 8, 2020
1 parent bfb6777 commit bbcbb07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mojoshader_vulkan.c
Expand Up @@ -638,7 +638,8 @@ MOJOSHADER_vkProgram *MOJOSHADER_vkLinkProgram(MOJOSHADER_vkShader *vshader,
if ((vshader == NULL) && (pshader == NULL))
return NULL;

result = ctx->malloc_fn(sizeof (MOJOSHADER_vkProgram), ctx->malloc_data);
result = (MOJOSHADER_vkProgram *) ctx->malloc_fn(sizeof (MOJOSHADER_vkProgram),
ctx->malloc_data);
if (result == NULL)
{
out_of_memory();
Expand Down

0 comments on commit bbcbb07

Please sign in to comment.