Skip to content

Commit

Permalink
Ch11: assign debug names to texLumViews[]
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Feb 23, 2025
1 parent abd8b19 commit d86df1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapter11/06_FinalDemo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int main()
}) };

for (uint32_t v = 1; v != LVK_ARRAY_NUM_ELEMENTS(texLumViews); v++) {
texLumViews[v] = ctx->createTextureView(texLumViews[0], { .mipLevel = v, .swizzle = swizzle });
texLumViews[v] = ctx->createTextureView(texLumViews[0], { .mipLevel = v, .swizzle = swizzle }, "texLumViews[]");
}

const uint16_t brightPixel = glm::packHalf1x16(50.0f);
Expand Down

0 comments on commit d86df1b

Please sign in to comment.