Skip to content

Commit

Permalink
D3D: Verbosify an error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoBrainX authored and NeoBrainX committed Jan 6, 2014
1 parent e6676b4 commit 55717ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp
Expand Up @@ -1167,7 +1167,7 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,

D3D11_MAPPED_SUBRESOURCE map = { 0 };
hr = D3D::context->Map(m_outStage, 0, D3D11_MAP_READ, 0, &map);
CHECK(SUCCEEDED(hr), "map staging buffer");
CHECK(SUCCEEDED(hr), "map staging buffer (0x%x)", hr);

u8* src = (u8*)map.pData;
for (unsigned int y = 0; y < numBlocksY; ++y)
Expand Down

0 comments on commit 55717ed

Please sign in to comment.