Commit 58e6c4d1 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

include: Add DirectXAlphaMode enum.

Needed for mingw Firefox build.
parent 48fdc8e0
...@@ -27,6 +27,7 @@ import "windowscontracts.idl"; ...@@ -27,6 +27,7 @@ import "windowscontracts.idl";
import "windows.foundation.idl"; import "windows.foundation.idl";
namespace Windows.Graphics.DirectX { namespace Windows.Graphics.DirectX {
typedef enum DirectXAlphaMode DirectXAlphaMode;
typedef enum DirectXPixelFormat DirectXPixelFormat; typedef enum DirectXPixelFormat DirectXPixelFormat;
declare { declare {
...@@ -36,6 +37,17 @@ namespace Windows.Graphics.DirectX { ...@@ -36,6 +37,17 @@ namespace Windows.Graphics.DirectX {
} }
[ [
contract(Windows.Foundation.UniversalApiContract, 2.0)
]
enum DirectXAlphaMode
{
Unspecified = 0,
Premultiplied = 1,
Straight = 2,
Ignore = 3,
};
[
contract(Windows.Foundation.UniversalApiContract, 1.0) contract(Windows.Foundation.UniversalApiContract, 1.0)
] ]
enum DirectXPixelFormat enum DirectXPixelFormat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment