mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
d3d12memory: Use explicit type for GST_MAP_D3D12 define
C++ compiler will complain about different type between int and GstMapFlags Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6749>
This commit is contained in:
parent
87f43c25cc
commit
c95725bb79
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Since: 1.26
|
||||
*/
|
||||
#define GST_MAP_D3D12 (GST_MAP_FLAG_LAST << 1)
|
||||
#define GST_MAP_D3D12 ((GstMapFlags) (GST_MAP_FLAG_LAST << 1))
|
||||
|
||||
/**
|
||||
* GST_MAP_READ_D3D12:
|
||||
|
|
Loading…
Reference in a new issue