[Chore] (MG_Backend/DirectVulkan): improve some wording

This commit is contained in:
2026-02-16 12:10:51 +08:00
parent 8f57e837b8
commit e1b59bcb46
3 changed files with 11 additions and 11 deletions
@@ -98,7 +98,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
}
void FrameContext::SetCurrentCommandBuffer(VkCommandBuffer value) {
SetCurrentHasCommandBufferRecorded(false);
SetCurrentCommandBufferRecorded(false);
GetCommandBuffer(GetCurrentFrameIndex()) = value;
}
@@ -114,7 +114,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
GetImageInFlightFence(GetCurrentFrameIndex()) = value;
}
void FrameContext::SetCurrentHasCommandBufferRecorded(Bool value) {
void FrameContext::SetCurrentCommandBufferRecorded(Bool value) {
SetHasCommandBufferRecorded(GetCurrentFrameIndex(), value);
}
@@ -134,8 +134,8 @@ namespace MobileGL::MG_Backend::DirectVulkan {
return GetImageInFlightFence(GetCurrentFrameIndex());
}
Bool FrameContext::GetCurrentHasCommandBufferRecorded() const {
return GetHasCommandBufferRecorded(GetCurrentFrameIndex());
Bool FrameContext::HasCurrentCommandBufferRecorded() const {
return HasCommandBufferRecorded(GetCurrentFrameIndex());
}
const VkCommandBuffer& FrameContext::GetCommandBuffer(Uint32 frameIndex) const {
@@ -158,7 +158,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
return imageInFlightFences[frameIndex];
}
Bool FrameContext::GetHasCommandBufferRecorded(Uint32 frameIndex) const {
Bool FrameContext::HasCommandBufferRecorded(Uint32 frameIndex) const {
AssertValidFrameIndex(frameIndex);
return hasCommandBufferRecorded[frameIndex];
}