增加bom头
This commit is contained in:
parent
b37d7c1a5b
commit
9ef8f09deb
@ -1,4 +1,4 @@
|
|||||||
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
|
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
|
||||||
#define HGL_GRAPH_TILE_DATA_INCLUDE
|
#define HGL_GRAPH_TILE_DATA_INCLUDE
|
||||||
|
|
||||||
#include<hgl/graph/vulkan/VKTexture.h>
|
#include<hgl/graph/vulkan/VKTexture.h>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include<hgl/graph/TileData.h>
|
#include<hgl/graph/TileData.h>
|
||||||
#include<hgl/log/LogInfo.h>
|
#include<hgl/log/LogInfo.h>
|
||||||
|
|
||||||
namespace hgl
|
namespace hgl
|
||||||
@ -65,13 +65,13 @@ namespace hgl
|
|||||||
|
|
||||||
tile_object[index]=obj;
|
tile_object[index]=obj;
|
||||||
|
|
||||||
tile_texture->ChangeImage( left,
|
//tile_texture->ChangeImage( left,
|
||||||
top,
|
// top,
|
||||||
tile_width,
|
// tile_width,
|
||||||
tile_height,
|
// tile_height,
|
||||||
data,
|
// data,
|
||||||
bytes,
|
// bytes,
|
||||||
format);
|
// format);
|
||||||
//请保留这段代码,以便未来使用时该数据时不会使用
|
//请保留这段代码,以便未来使用时该数据时不会使用
|
||||||
//{
|
//{
|
||||||
// vertex->Begin(index*6);
|
// vertex->Begin(index*6);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user