mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-28 06:27:02 +00:00
fix: force backbuffer clear alpha to 1.0 to prevent DWM window transparency
This commit is contained in:
parent
cf81dd9d13
commit
afa3e22715
|
|
@ -123,7 +123,7 @@ void glClearColor(float r, float g, float b, float a)
|
|||
|
||||
RenderManager.SetClearColour(D3DCOLOR_RGBA(ir,ig,ib,ia));
|
||||
#else
|
||||
float rgba[4] = {r,g,b,a};
|
||||
float rgba[4] = {r,g,b,1.0f}; // Force alpha=1 to prevent DWM window transparency
|
||||
RenderManager.SetClearColour(rgba);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue