Kolja Strohm 2 жил өмнө
parent
commit
2b7fc662ce

BIN
Framework Tests/Framwork.dll


+ 2 - 0
Textur.cpp

@@ -184,6 +184,7 @@ void DX11Textur::setRenderTarget( bool rt )
 //! copy the texture to an image
 void DX11Textur::copyToImage( Bild* zB )
 {
+#ifdef WIN32
     D3D11_TEXTURE2D_DESC tempBufferDesc;
     memset( &tempBufferDesc, 0, sizeof( D3D11_TEXTURE2D_DESC ) );
     tempBufferDesc.ArraySize = 1;
@@ -216,4 +217,5 @@ void DX11Textur::copyToImage( Bild* zB )
     }
     context->Unmap( tmpTxt, 0 );
     tmpTxt->Release();
+#endif
 }