mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCE-Revelations.git
synced 2026-06-10 05:12:57 +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