fix: force backbuffer clear alpha to 1.0 to prevent DWM window transparency

This commit is contained in:
itsRevela
2026-04-17 12:43:46 -05:00
parent cf81dd9d13
commit afa3e22715

View File

@@ -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
}