delete unused value "commit_offset"
This commit is contained in:
parent
3dbddbeb9a
commit
afe3f9a27a
2
CMCore
2
CMCore
@ -1 +1 @@
|
||||
Subproject commit 8af10565426b4b2913f010d6a811a7495ef06763
|
||||
Subproject commit c2d6f456f7c17fe2ab7905a7c4f5b2222b5b611b
|
@ -40,7 +40,7 @@ CreateProject(12.RectanglePrimitive RectanglePrimitive.cpp)
|
||||
|
||||
CreateProject(13.DrawTile DrawTile.cpp)
|
||||
|
||||
CreateProject(13.DrawText DrawText.cpp)
|
||||
CreateProject(14.DrawText DrawText.cpp)
|
||||
|
||||
IF(SUPPORT_QT_VULKAN)
|
||||
include(QtCommon)
|
||||
|
@ -46,7 +46,6 @@ namespace hgl
|
||||
vulkan::Buffer *tile_buffer; ///<Tile暂存缓冲区
|
||||
|
||||
List<ImageRegion> commit_list;
|
||||
uint commit_offset;
|
||||
uint8 *commit_ptr;
|
||||
|
||||
bool CommitTile(TileObject *,const void *,const uint,const int,const int); ///<提交一个Tile数据
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user