d3dvideosink: Fix warning for unhandled enum in switch

d3dhelpers.c:135:3: warning: enumeration value 'D3DFMT_D32_LOCKABLE' not handled in switch [-Wswitch]
This commit is contained in:
Seungha Yang 2019-12-04 15:33:42 +09:00 committed by GStreamer Merge Bot
parent c3685bafa4
commit 4eac9d0ae6

View file

@ -195,6 +195,8 @@ d3d_format_to_string (D3DFORMAT format)
CASE (D3DFMT_A32B32G32R32F);
CASE (D3DFMT_CxV8U8);
CASE (D3DFMT_FORCE_DWORD);
default:
break;
}
return "UNKNOWN";