diff --git a/mojoshader_sdlgpu.c b/mojoshader_sdlgpu.c index 586208b..22e93a5 100644 --- a/mojoshader_sdlgpu.c +++ b/mojoshader_sdlgpu.c @@ -301,7 +301,7 @@ MOJOSHADER_sdlShaderData *MOJOSHADER_sdlCompileShader( int i; const MOJOSHADER_parseData *pd = MOJOSHADER_parse( - "spirv", mainfn, + ctx->profile, mainfn, tokenbuf, bufsize, swiz, swizcount, smap, smapcount,