Skip to content

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Mar 10, 2024
1 parent 9e00ce0 commit b12ecf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/vulkan/StreamBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ptrdiff_t StreamBuffer::getHandle() const
return (ptrdiff_t) buffer;
}

size_t getGPUReadOffset() const override
size_t StreamBuffer::getGPUReadOffset() const
{
return (frameIndex * bufferSize) + frameGPUReadOffset;
}
Expand Down
1 change: 1 addition & 0 deletions src/modules/graphics/vulkan/StreamBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class StreamBuffer final

virtual void unloadVolatile() override;

size_t getGPUReadOffset() const override;
MapInfo map(size_t minsize) override;
size_t unmap(size_t usedSize) override;
void markUsed(size_t usedSize) override;
Expand Down

0 comments on commit b12ecf4

Please sign in to comment.