Skip to content

Commit

Permalink
sdlgpu: Use ctx->profile instead of hardcoding spirv
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Oct 7, 2024
1 parent f82f3f1 commit 1d7e528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_sdlgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1d7e528

Please sign in to comment.