Font rendering code runs but it sure ain't right

This commit is contained in:
Henrik Rydgård committed 2017-06-05 23:09:11 +02:00
1 parent d9c43642c2
commit 0bf92a4fa2
3 files changed
+9 -3

No files matched your search

+3
View File
@@ -675,6 +675,9 @@ enum class TextureState {
};
bool VKTexture::Create(const TextureDesc &desc) {
// Zero-sized textures not allowed.
if (desc.width * desc.height * desc.depth == 0)
return false;
format_ = desc.format;
mipLevels_ = desc.mipLevels;
width_ = desc.width;