From db14ce602d1901642b940730727edce62ae87306 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 13 Jun 2023 04:16:19 -0500 Subject: [PATCH] why are you not showing me the return value I want to see what's going on --- src/gui/render/renderDX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/render/renderDX11.cpp b/src/gui/render/renderDX11.cpp index 5f7e70d6..452b8180 100644 --- a/src/gui/render/renderDX11.cpp +++ b/src/gui/render/renderDX11.cpp @@ -152,7 +152,7 @@ bool FurnaceGUIRenderDX11::lockTexture(void* which, void** data, int* pitch) { HRESULT result=context->Map(t->tex,D3D11CalcSubresource(0,0,1),D3D11_MAP_WRITE,0,&mappedRes); if (result!=S_OK) { - logW("could not map texture!"); + logW("could not map texture! %.8x",result); return false; } t->lockedData=(unsigned char*)mappedRes.pData;