Skip to content

Commit cda2b7c

Browse files
committed
Replace auto with actual type
1 parent f9e63f2 commit cda2b7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Graphics/GraphicsEngineOpenGL/src/TextureBaseGL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ void TextureBaseGL::CreateViewInternal(const TextureViewDesc& OrigViewDesc, ITex
495495

496496
if (ViewDesc.Format == TEX_FORMAT_X24_TYPELESS_G8_UINT || ViewDesc.Format == TEX_FORMAT_X32_TYPELESS_G8X24_UINT)
497497
{
498-
const auto& FormatInfo = pDeviceGLImpl->GetTextureFormatInfo(ViewDesc.Format);
498+
const TextureFormatInfo& FmtInfo = pDeviceGLImpl->GetTextureFormatInfo(ViewDesc.Format);
499499

500-
if (FormatInfo.Supported)
500+
if (FmtInfo.Supported)
501501
{
502502
RefCntAutoPtr<DeviceContextGLImpl> pDeviceContext = pDeviceGLImpl->GetImmediateContext(0);
503503
VERIFY(pDeviceContext, "Immediate device context has been destroyed");

0 commit comments

Comments
 (0)