mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
2bbba87ea0
Fixes build for crosstests. MinGW-w64 defines DXGI_ERRORs in winerror.h.
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright 2016 Józef Kucia for CodeWeavers
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
import "vkd3d_windows.h";
|
|
|
|
import "dxgiformat.idl";
|
|
|
|
cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL")
|
|
cpp_quote("#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001)")
|
|
cpp_quote("#endif")
|
|
cpp_quote("#ifndef DXGI_ERROR_DEVICE_REMOVED")
|
|
cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)")
|
|
cpp_quote("#endif")
|
|
|
|
typedef struct DXGI_SAMPLE_DESC
|
|
{
|
|
UINT Count;
|
|
UINT Quality;
|
|
} DXGI_SAMPLE_DESC;
|