Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Commit

Permalink
Fix menu not displaying without overlaying text.
Browse files Browse the repository at this point in the history
* All credits to EpikPhailure.
  https://github.com/MarkHC/CSGOSimple/pull/16/files

Signed-off-by: Emma N. Skye <emma@skyenet.org>
  • Loading branch information
emskye96 committed Dec 9, 2016
1 parent 7ae69e2 commit 57de26d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ImGui/examples/directx9_example/imgui_impl_dx9.cpp
Expand Up @@ -106,6 +106,7 @@ void ImGui_ImplDX9_RenderDrawLists(ImDrawData* draw_data)
g_pd3dDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);
g_pd3dDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
g_pd3dDevice->SetRenderState(D3DRS_SCISSORTESTENABLE, true);
g_pd3dDevice->SetRenderState(D3DRS_COLORWRITEENABLE, 0xFFFFFFFF);
g_pd3dDevice->SetTextureStageState(0, D3DTSS_COLOROP, D3DTOP_MODULATE);
g_pd3dDevice->SetTextureStageState(0, D3DTSS_COLORARG1, D3DTA_TEXTURE);
g_pd3dDevice->SetTextureStageState(0, D3DTSS_COLORARG2, D3DTA_DIFFUSE);
Expand Down

0 comments on commit 57de26d

Please sign in to comment.