Explorar o código

changes for linux build

Kolja Strohm %!s(int64=2) %!d(string=hai) anos
pai
achega
2b7fc662ce
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. BIN=BIN
      Framework Tests/Framwork.dll
  2. 2 0
      Textur.cpp

BIN=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
 }