From 3cb1fa0e853efc04cc183d3ee75ec1bbe2c845a4 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 25 Apr 2020 10:02:18 -0300 Subject: Implement texture buffers (#1152) * Implement texture buffers * Throw NotSupportedException where appropriate --- Ryujinx.Graphics.OpenGL/Renderer.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Ryujinx.Graphics.OpenGL/Renderer.cs') diff --git a/Ryujinx.Graphics.OpenGL/Renderer.cs b/Ryujinx.Graphics.OpenGL/Renderer.cs index 504a947b..3f718345 100644 --- a/Ryujinx.Graphics.OpenGL/Renderer.cs +++ b/Ryujinx.Graphics.OpenGL/Renderer.cs @@ -20,19 +20,14 @@ namespace Ryujinx.Graphics.OpenGL internal TextureCopy TextureCopy { get; } public string GpuVendor { get; private set; } - public string GpuRenderer { get; private set; } - public string GpuVersion { get; private set; } public Renderer() { _pipeline = new Pipeline(); - _counters = new Counters(); - _window = new Window(this); - TextureCopy = new TextureCopy(this); } @@ -58,7 +53,7 @@ namespace Ryujinx.Graphics.OpenGL public ITexture CreateTexture(TextureCreateInfo info) { - return new TextureStorage(this, info).CreateDefaultView(); + return info.Target == Target.TextureBuffer ? new TextureBuffer(info) : new TextureStorage(this, info).CreateDefaultView(); } public Capabilities GetCapabilities() -- cgit v1.2.3