Trying to add water
This commit is contained in:
@@ -86,9 +86,9 @@ void FontAsset::load(ArchiveBuffer& buffer) {
|
||||
.width = kTexture->baseWidth,
|
||||
.height = kTexture->baseHeight,
|
||||
.depth = kTexture->baseDepth,
|
||||
.mipLevels = kTexture->numLevels,
|
||||
.layers = kTexture->numFaces,
|
||||
.elements = kTexture->numLayers,
|
||||
.useMip = true,
|
||||
.usage = Gfx::SE_IMAGE_USAGE_SAMPLED_BIT,
|
||||
};
|
||||
|
||||
|
||||
@@ -47,9 +47,9 @@ void TextureAsset::load(ArchiveBuffer& buffer) {
|
||||
.width = ktxHandle->baseWidth,
|
||||
.height = ktxHandle->baseHeight,
|
||||
.depth = ktxHandle->baseDepth,
|
||||
.mipLevels = ktxHandle->numLevels,
|
||||
.layers = ktxHandle->numFaces,
|
||||
.elements = ktxHandle->numLayers,
|
||||
.useMip = true,
|
||||
.usage = Gfx::SE_IMAGE_USAGE_SAMPLED_BIT,
|
||||
.name = name,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user