增加bom头

This commit is contained in:
hyzboy 2020-06-21 02:27:08 +08:00
parent b37d7c1a5b
commit 9ef8f09deb
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
#define HGL_GRAPH_TILE_DATA_INCLUDE
#include<hgl/graph/vulkan/VKTexture.h>

View File

@ -1,4 +1,4 @@
#include<hgl/graph/TileData.h>
#include<hgl/graph/TileData.h>
#include<hgl/log/LogInfo.h>
namespace hgl
@ -65,13 +65,13 @@ namespace hgl
tile_object[index]=obj;
tile_texture->ChangeImage( left,
top,
tile_width,
tile_height,
data,
bytes,
format);
//tile_texture->ChangeImage( left,
// top,
// tile_width,
// tile_height,
// data,
// bytes,
// format);
//请保留这段代码,以便未来使用时该数据时不会使用
//{
// vertex->Begin(index*6);