Skip to content

Commit

Permalink
reset buffer upload offset
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcosmonaut committed Mar 27, 2024
1 parent 848e200 commit 1a66d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FNA3D_Driver_SDL.c
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,7 @@ static void SDLGPU_ResetCommandBufferState(
renderer->needFragmentSamplerBind = 1;

renderer->textureUploadBufferOffset = 0;
renderer->bufferUploadBufferOffset = 0;

MOJOSHADER_sdlSetCommandBuffer(
renderer->mojoshaderContext,
Expand Down

0 comments on commit 1a66d3f

Please sign in to comment.