mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-11 08:39:28 +01:00
Font rendering code runs but it sure ain't right
This commit is contained in:
1 parent
d9c43642c2
commit
0bf92a4fa2
3 files changed
+9
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user