[vlc-devel] [PATCH] direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK

Steve Lhomme robux4 at videolabs.io
Mon Mar 23 17:22:18 CET 2015


Yes, that should do. NDEBUG builds are not supposed to be distributed.

I'll submit a new patch.

On Mon, Mar 23, 2015 at 4:52 PM, Hugo Beauzée-Luyssen <hugo at beauzee.fr> wrote:
> On Mon, Mar 23, 2015, at 04:17 PM, Steve Lhomme wrote:
>> disable the flag by default
>> ---
>>  modules/video_output/msw/direct3d11.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/modules/video_output/msw/direct3d11.c
>> b/modules/video_output/msw/direct3d11.c
>> index 042f317..9683b56 100644
>> --- a/modules/video_output/msw/direct3d11.c
>> +++ b/modules/video_output/msw/direct3d11.c
>> @@ -449,7 +449,7 @@ static int Direct3D11Open(vout_display_t *vd,
>> video_format_t *fmt)
>>          D3D_FEATURE_LEVEL_9_1
>>      };
>>
>> -# ifndef NDEBUG
>> +# if 0 //ndef NDEBUG
>>      creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
>>  # endif
>>
>> --
>> 2.3.2
>>
>
> Can't _MSC_VER do the trick?
>
> Regards,
>
> --
>   Hugo Beauzée-Luyssen
>   hugo at beauzee.fr
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list