diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-05-31 15:35:34 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-05-31 15:35:34 +0000 |
| commit | c6bfb3bdcb4215eba7061090c25fa7604a1a0d44 (patch) | |
| tree | 9b980c7331aecc3cbd110b51b2cd46f59ed6c8cf /Tests/TestApp/include/TestTexturing.h | |
| parent | Moved Stride to vertex layout desc; updated tests (diff) | |
| download | DiligentEngine-c6bfb3bdcb4215eba7061090c25fa7604a1a0d44.tar.gz DiligentEngine-c6bfb3bdcb4215eba7061090c25fa7604a1a0d44.zip | |
Updated back buffer format to match the one from the swap chain in the tests
Diffstat (limited to 'Tests/TestApp/include/TestTexturing.h')
| -rw-r--r-- | Tests/TestApp/include/TestTexturing.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Diligent::Uint8> &Data, std::vector<Diligent::TextureSubResData> &SubResouces, const Diligent::TextureDesc &TexDesc, const float *ColorOffset = nullptr); |
