mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
metal: todo a fix for NULL images
This commit is contained in:
parent
32c49173ad
commit
0feb0aa7a1
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ ImageView::ImageView(TextureCacheRuntime& runtime, const VideoCommon::ImageViewI
|
||||||
ImageId image_id_, Image& image)
|
ImageId image_id_, Image& image)
|
||||||
: VideoCommon::ImageViewBase{info, image.info, image_id_, image.gpu_addr} {
|
: VideoCommon::ImageViewBase{info, image.info, image_id_, image.gpu_addr} {
|
||||||
using Shader::TextureType;
|
using Shader::TextureType;
|
||||||
|
// TODO: For whatever reason, some images's internal objc objects is NULL, metal-cpp provides no method to check for this
|
||||||
texture = image.GetHandle()->retain();
|
texture = image.GetHandle()->retain();
|
||||||
|
|
||||||
// TODO: create texture view
|
// TODO: create texture view
|
||||||
|
|
Loading…
Reference in a new issue