ソースを参照

Revert "device: no need for alpha"

This reverts commit 734473761497b7e59a0e26a849cb19d0ee75732c.
Daniele Bartolini 1 週間 前
コミット
f16739e14f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/device/pipeline.cpp

+ 1 - 1
src/device/pipeline.cpp

@@ -445,7 +445,7 @@ void Pipeline::reset(u16 width, u16 height)
 			, height
 			, height
 			, false
 			, false
 			, 1
 			, 1
-			, bgfx::TextureFormat::RGB8
+			, bgfx::TextureFormat::RGBA8
 			, color_texture_flags
 			, color_texture_flags
 			),
 			),
 		_depth_texture
 		_depth_texture