Skip to content

Commit 90a91e7

Browse files
committed
Update for API changes
1 parent 4d3ef0d commit 90a91e7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

09-BindlessTexturing/bindlesstexturing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ struct BindlessTexturing : public ExampleFramework {
249249
commandBuffer->SetVertexBuffer(vertexBuffer);
250250
commandBuffer->SetIndexBuffer(indexBuffer);
251251
commandBuffer->SetFragmentSampler(sampler,0);
252-
commandBuffer->SetFragmentTexture(heapStart, 0); // expose all the textures
252+
commandBuffer->SetFragmentTexture(heapStart, 1); // expose all the textures
253253
commandBuffer->BindBuffer(instanceDataBuffer, 1);
254254
commandBuffer->DrawIndexed(std::size(BasicObjects::Quad::indices), {.nInstances = 3});
255255

deps/RGL

Submodule RGL updated 120 files

0 commit comments

Comments
 (0)