From d786d8d2b924da7cd116a2eb97d738a9f07b4e43 Mon Sep 17 00:00:00 2001 From: gdk Date: Wed, 30 Oct 2019 20:45:01 -0300 Subject: Support copy of slices to 3D textures, remove old 3D render target layered render support, do not delete textures with existing views created from them --- Ryujinx.Graphics.OpenGL/Framebuffer.cs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Ryujinx.Graphics.OpenGL/Framebuffer.cs') diff --git a/Ryujinx.Graphics.OpenGL/Framebuffer.cs b/Ryujinx.Graphics.OpenGL/Framebuffer.cs index 40913009..d416bd03 100644 --- a/Ryujinx.Graphics.OpenGL/Framebuffer.cs +++ b/Ryujinx.Graphics.OpenGL/Framebuffer.cs @@ -29,16 +29,6 @@ namespace Ryujinx.Graphics.OpenGL 0); } - public void AttachColor(int index, TextureView color, int layer) - { - GL.FramebufferTextureLayer( - FramebufferTarget.Framebuffer, - FramebufferAttachment.ColorAttachment0 + index, - color?.Handle ?? 0, - 0, - layer); - } - public void AttachDepthStencil(TextureView depthStencil) { // Detach the last depth/stencil buffer if there is any. -- cgit v1.2.3