Skip to content

Commit

Permalink
Feat: Added stencil reference adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
klukaszek committed Jan 10, 2025
1 parent 16b9241 commit 7fe0119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/webgpu/SDL_gpu_webgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3698,7 +3698,7 @@ void WebGPU_SetScissorRect(SDL_GPUCommandBuffer *renderPass, const SDL_Rect *sci
static void WebGPU_SetStencilReference(SDL_GPUCommandBuffer *commandBuffer,
Uint8 reference)
{
// no-op (pass)
wgpuRenderPassEncoderSetStencilReference(((WebGPUCommandBuffer *)commandBuffer)->renderPassEncoder, reference);
}

static void WebGPU_BindGraphicsPipeline(
Expand Down

0 comments on commit 7fe0119

Please sign in to comment.