mirror of
https://github.com/aap/librw.git
synced 2025-01-22 16:51:27 +00:00
fix gl blend bug
This commit is contained in:
parent
93c246b6b1
commit
fbb2d35fc4
@ -323,7 +323,7 @@ setAlphaBlend(bool32 enable)
|
|||||||
{
|
{
|
||||||
if(rwStateCache.blendEnable != enable){
|
if(rwStateCache.blendEnable != enable){
|
||||||
rwStateCache.blendEnable = enable;
|
rwStateCache.blendEnable = enable;
|
||||||
setGlRenderState(RWGL_BLEND, true);
|
setGlRenderState(RWGL_BLEND, enable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user