From 00894b57076dc090da7f9cf3b94805501e67cd29 Mon Sep 17 00:00:00 2001 From: Mathew O'Dwyer Date: Thu, 11 Jan 2024 15:05:53 +1100 Subject: [PATCH] Remove DepthStencil cause it's not even really supported yet --- FinalEngine.Rendering.OpenGL/OpenGLRenderDevice.cs | 1 - FinalEngine.Rendering/Textures/PixelFormat.cs | 2 -- 2 files changed, 3 deletions(-) diff --git a/FinalEngine.Rendering.OpenGL/OpenGLRenderDevice.cs b/FinalEngine.Rendering.OpenGL/OpenGLRenderDevice.cs index 2557d700..948916d3 100644 --- a/FinalEngine.Rendering.OpenGL/OpenGLRenderDevice.cs +++ b/FinalEngine.Rendering.OpenGL/OpenGLRenderDevice.cs @@ -100,7 +100,6 @@ public OpenGLRenderDevice(IOpenGLInvoker invoker) { PixelFormat.Rgb, TKPixelForamt.Rgb }, { PixelFormat.Rgba, TKPixelForamt.Rgba }, { PixelFormat.Depth, TKPixelForamt.DepthComponent }, - { PixelFormat.DepthAndStencil, TKPixelForamt.DepthStencil }, { SizedFormat.R8, SizedInternalFormat.R8 }, { SizedFormat.Rg8, SizedInternalFormat.Rg8 }, { SizedFormat.Rgb8, All.Rgb8 }, diff --git a/FinalEngine.Rendering/Textures/PixelFormat.cs b/FinalEngine.Rendering/Textures/PixelFormat.cs index 42acb60f..50ddd979 100644 --- a/FinalEngine.Rendering/Textures/PixelFormat.cs +++ b/FinalEngine.Rendering/Textures/PixelFormat.cs @@ -15,6 +15,4 @@ public enum PixelFormat Rgba, Depth, - - DepthAndStencil, }