libobs-d3d11: Use member initialization

Instead of using initializer lists, use member initialization to clean
up the default values for member variables
This commit is contained in:
jp9000
2015-02-09 01:02:12 -08:00
parent 8943ccc1d6
commit f4406e71f4
3 changed files with 25 additions and 51 deletions

View File

@@ -163,11 +163,7 @@ gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t width,
}
gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t handle)
: isRenderTarget (false),
isGDICompatible (false),
isDynamic (false),
isShared (true),
genMipmaps (false),
: isShared (true),
sharedHandle (handle)
{
HRESULT hr;