1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Add DirectXAlphaMode enum.

Needed for mingw Firefox build.
This commit is contained in:
Mohamad Al-Jaf 2023-03-30 02:17:39 -04:00 committed by Alexandre Julliard
parent 48fdc8e08c
commit 58e6c4d11c

View File

@ -27,6 +27,7 @@ import "windowscontracts.idl";
import "windows.foundation.idl";
namespace Windows.Graphics.DirectX {
typedef enum DirectXAlphaMode DirectXAlphaMode;
typedef enum DirectXPixelFormat DirectXPixelFormat;
declare {
@ -35,6 +36,17 @@ namespace Windows.Graphics.DirectX {
interface Windows.Foundation.Collections.IVectorView<Windows.Graphics.DirectX.DirectXPixelFormat>;
}
[
contract(Windows.Foundation.UniversalApiContract, 2.0)
]
enum DirectXAlphaMode
{
Unspecified = 0,
Premultiplied = 1,
Straight = 2,
Ignore = 3,
};
[
contract(Windows.Foundation.UniversalApiContract, 1.0)
]