mirror of
https://github.com/Drezil/imgui.git
synced 2025-04-19 09:33:59 +00:00
Tab->Spaces :( visual studio can't even be trusted for that, oh thanks.
This commit is contained in:
parent
de44af5227
commit
7f804d3d64
@ -94,8 +94,8 @@ static void ImImpl_RenderDrawLists(ImDrawList** const cmd_lists, int cmd_lists_c
|
|||||||
{
|
{
|
||||||
{ 2.0f/(R-L), 0.0f, 0.0f, 0.0f},
|
{ 2.0f/(R-L), 0.0f, 0.0f, 0.0f},
|
||||||
{ 0.0f, 2.0f/(T-B), 0.0f, 0.0f,},
|
{ 0.0f, 2.0f/(T-B), 0.0f, 0.0f,},
|
||||||
{ 0.0f, 0.0f, 0.5f, 0.0f }, // -1.0f
|
{ 0.0f, 0.0f, 0.5f, 0.0f },
|
||||||
{ (R+L)/(L-R), (T+B)/(B-T), 0.5f, 1.0f }, // 0.0f
|
{ (R+L)/(L-R), (T+B)/(B-T), 0.5f, 1.0f },
|
||||||
};
|
};
|
||||||
memcpy(&pConstantBuffer->mvp, mvp, sizeof(mvp));
|
memcpy(&pConstantBuffer->mvp, mvp, sizeof(mvp));
|
||||||
g_pd3dDeviceImmediateContext->Unmap(g_pVertexConstantBuffer, 0);
|
g_pd3dDeviceImmediateContext->Unmap(g_pVertexConstantBuffer, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user