Skip to content

Commit

Permalink
Merge pull request #88 from fluffels/master
Browse files Browse the repository at this point in the history
Fix typo in README
  • Loading branch information
chaoticbob committed Jul 23, 2020
2 parents a4e38f6 + 689a4fc commit 4bfcf15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ int SpirvReflectExample(const void* spirv_code, size_t spirv_nbytes)
uint32_t var_count = 0;
result = spvReflectEnumerateInputVariables(&module, &var_count, NULL);
assert(result == SPV_REFLECT_RESULT_SUCCESS);
SpvReflectInterfaceVariable* input_vars =
(SpvReflectInterfaceVariable*)malloc(var_count * sizeof(SpvReflectInterfaceVariable));
SpvReflectInterfaceVariable** input_vars =
(SpvReflectInterfaceVariable**)malloc(var_count * sizeof(SpvReflectInterfaceVariable*));
result = spvReflectEnumerateInputVariables(&module, &var_count, input_vars);
assert(result == SPV_REFLECT_RESULT_SUCCESS);

Expand Down

0 comments on commit 4bfcf15

Please sign in to comment.