mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
d3d11_processor: allow usage from C++
The ID3D11VideoContext_VideoProcessorBlt define is only set with COBJMACROS. We don't need it as the code should not be compiled if it's not available.
This commit is contained in:
parent
7334ebb807
commit
e5d539491b
@ -27,7 +27,10 @@
|
||||
|
||||
#include "../../video_chroma/d3d11_fmt.h"
|
||||
|
||||
#ifdef ID3D11VideoContext_VideoProcessorBlt
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ID3D11VideoDevice *d3dviddev;
|
||||
@ -46,6 +49,9 @@ void D3D11_ReleaseProcessor(d3d11_processor_t *);
|
||||
|
||||
HRESULT D3D11_Assert_ProcessorInput(vlc_object_t *, d3d11_processor_t *, picture_sys_d3d11_t *);
|
||||
#define D3D11_Assert_ProcessorInput(a,b,c) D3D11_Assert_ProcessorInput(VLC_OBJECT(a),b,c)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* VLC_D3D11_PROCESSOR_H */
|
||||
|
Loading…
Reference in New Issue
Block a user