mirror of
https://github.com/edubart/otclient.git
synced 2025-12-14 12:49:47 +01:00
fix alpha blending issues
This commit is contained in:
@@ -330,3 +330,14 @@ bool Graphics::canUseClampToEdge()
|
||||
return m_useClampToEdge;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Graphics::canUseBlendFuncSeparate()
|
||||
{
|
||||
#ifdef OPENGL_ES
|
||||
return true;
|
||||
#else
|
||||
if(!GLEW_VERSION_1_4)
|
||||
return false;
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user