TileSet
This commit is contained in:
@ -86,7 +86,7 @@ namespace ia::iae
|
||||
IVec2(face->glyph->bitmap.width, face->glyph->bitmap.rows),
|
||||
IVec2(face->glyph->bitmap_left, face->glyph->bitmap_top),
|
||||
static_cast<UINT32>(face->glyph->advance.x) >> 6,
|
||||
GPUResourceManager::CreateTexture(SDL_GPU_TEXTUREUSAGE_SAMPLER | SDL_GPU_TEXTUREUSAGE_COLOR_TARGET, face->glyph->bitmap.width, face->glyph->bitmap.rows, GLYPH_PIXEL_DATA.data()),
|
||||
GPUResourceManager::CreateTexture(SDL_GPU_TEXTUREUSAGE_SAMPLER | SDL_GPU_TEXTUREUSAGE_COLOR_TARGET, face->glyph->bitmap.width, face->glyph->bitmap.rows, face->glyph->bitmap.width, GLYPH_PIXEL_DATA.data()),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user