diff --git a/src/hle/rt64_present_queue.cpp b/src/hle/rt64_present_queue.cpp index c2056a5..48e8e2c 100644 --- a/src/hle/rt64_present_queue.cpp +++ b/src/hle/rt64_present_queue.cpp @@ -330,12 +330,12 @@ namespace RT64 { } else { colorTarget->resolveTarget(ext.presentGraphicsWorker); - commandList->barriers(RenderBarrierStage::GRAPHICS, RenderTextureBarrier(colorTarget->getResolvedTexture(), RenderTextureLayout::SHADER_READ)); renderParams.texture = colorTarget->getResolvedTexture(); renderParams.textureWidth = colorTarget->width; renderParams.textureHeight = colorTarget->height; } + commandList->barriers(RenderBarrierStage::GRAPHICS, RenderTextureBarrier(renderParams.texture, RenderTextureLayout::SHADER_READ)); viRenderer->render(renderParams); } diff --git a/src/rhi/rt64_render_interface_types.h b/src/rhi/rt64_render_interface_types.h index 57115c8..9b7419d 100644 --- a/src/rhi/rt64_render_interface_types.h +++ b/src/rhi/rt64_render_interface_types.h @@ -1490,6 +1490,7 @@ namespace RT64 { this->rayGen = rayGen; this->miss = miss; this->hitGroup = hitGroup; + this->callable = callable; } };