libobs-d3d11: Fix initializer list ordering
Microsoft's compiler doesn't seem to care about warning about things like initializer list ordering. Mingw actually reports on this to prevent potential confusion about ordering.
This commit is contained in:
@@ -149,10 +149,10 @@ gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t width,
|
||||
width (width),
|
||||
height (height),
|
||||
dxgiFormat (ConvertGSTextureFormat(format)),
|
||||
isGDICompatible (gdiCompatible),
|
||||
isShared (shared),
|
||||
isDynamic ((flags & GS_DYNAMIC) != 0),
|
||||
isRenderTarget ((flags & GS_RENDER_TARGET) != 0),
|
||||
isGDICompatible (gdiCompatible),
|
||||
isDynamic ((flags & GS_DYNAMIC) != 0),
|
||||
isShared (shared),
|
||||
genMipmaps ((flags & GS_BUILD_MIPMAPS) != 0)
|
||||
{
|
||||
InitTexture(data);
|
||||
|
Reference in New Issue
Block a user