From c6bfb3bdcb4215eba7061090c25fa7604a1a0d44 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 31 May 2018 08:35:34 -0700 Subject: Updated back buffer format to match the one from the swap chain in the tests --- Tests/TestApp/include/TestTexturing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/TestApp/include/TestTexturing.h') diff --git a/Tests/TestApp/include/TestTexturing.h b/Tests/TestApp/include/TestTexturing.h index 27d934f..7f71868 100644 --- a/Tests/TestApp/include/TestTexturing.h +++ b/Tests/TestApp/include/TestTexturing.h @@ -30,7 +30,7 @@ class TestTexturing : public UnitTestBase public: TestTexturing(); - void Init(Diligent::IRenderDevice *pDevice, Diligent::IDeviceContext *pDeviceContext, Diligent::TEXTURE_FORMAT TexFormat, float fMinXCoord, float fMinYCoord, float fXExtent, float fYExtent); + void Init(Diligent::IRenderDevice *pDevice, Diligent::IDeviceContext *pDeviceContext, Diligent::ISwapChain *pSwapChain, Diligent::TEXTURE_FORMAT TexFormat, float fMinXCoord, float fMinYCoord, float fXExtent, float fYExtent); void Draw(); static void GenerateTextureData(Diligent::IRenderDevice *pRenderDevice, std::vector &Data, std::vector &SubResouces, const Diligent::TextureDesc &TexDesc, const float *ColorOffset = nullptr); -- cgit v1.2.3