delete unused value "commit_offset"

This commit is contained in:
2020-07-29 17:23:29 +08:00
parent 3dbddbeb9a
commit afe3f9a27a
4 changed files with 2 additions and 5 deletions

View File

@@ -53,7 +53,6 @@ namespace hgl
tile_buffer=device->CreateBuffer(VK_BUFFER_USAGE_TRANSFER_SRC_BIT,tile_bytes*tile_max_count,nullptr);
commit_offset=0;
commit_ptr=nullptr;
}
@@ -66,7 +65,6 @@ namespace hgl
void TileData::BeginCommit()
{
commit_list.ClearData();
commit_offset=0;
commit_ptr=(uint8 *)tile_buffer->Map();
}