From 0016ab998ef9fc61a1c18e8df59ce04dd9e38e96 Mon Sep 17 00:00:00 2001 From: Katelyn Gadd Date: Sat, 13 Apr 2024 00:45:29 -0700 Subject: [PATCH] Enable Alpha8 render targets --- src/Graphics/Texture2D.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Graphics/Texture2D.cs b/src/Graphics/Texture2D.cs index 582d8ffbb..29eceeb28 100644 --- a/src/Graphics/Texture2D.cs +++ b/src/Graphics/Texture2D.cs @@ -98,7 +98,8 @@ SurfaceFormat format format != SurfaceFormat.HalfSingle && format != SurfaceFormat.HalfVector2 && format != SurfaceFormat.HalfVector4 && - format != SurfaceFormat.HdrBlendable ) + format != SurfaceFormat.HdrBlendable && + format != SurfaceFormat.Alpha8) { // Not a renderable format period Format = SurfaceFormat.Color;