mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-16 02:50:39 +00:00
fix: force backbuffer clear alpha to 1.0 to prevent DWM window transparency
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user