|
@@ -184,6 +184,7 @@ void DX11Textur::setRenderTarget( bool rt )
|
|
|
|
|
|
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
|
|
|
}
|