Fix bottom screen detection

This commit is contained in:
Wunkolo 2023-08-20 23:42:34 -07:00
parent 0258640da9
commit b3812548fe

View file

@ -682,7 +682,7 @@ void RendererVK::display() {
}
// Render bottom screen
if (Texture* bottomScreen = findColorRenderTexture(bottomScreenAddr); bottomScreenAddr) {
if (Texture* bottomScreen = findColorRenderTexture(bottomScreenAddr); bottomScreen) {
descriptorUpdateBatch->addImageSampler(
bottomDisplayPipelineDescriptorSet[frameBufferingIndex], 0, bottomScreen->imageView.get(), samplerCache->getSampler(sampler2D())
);