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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user