Przeglądaj źródła

Switch to BGRA8 as the default swapchain format. (#3569)

Martijn Courteaux 1 dzień temu
rodzic
commit
85d0b7ad3f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/bgfx.cpp

+ 1 - 1
src/bgfx.cpp

@@ -3606,7 +3606,7 @@ namespace bgfx
 	}
 
 	Resolution::Resolution()
-		: formatColor(TextureFormat::RGBA8)
+		: formatColor(TextureFormat::BGRA8)
 		, formatDepthStencil(TextureFormat::D24S8)
 		, width(1280)
 		, height(720)