glstate.h
This commit is contained in:
parent
99b8a43a10
commit
7c9c892729
|
|
@ -57,8 +57,7 @@ void GLScissorTest::apply(const bool &value){
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLBlendMode::apply(const BlendType &value){
|
void GLBlendMode::apply(const BlendType &value){
|
||||||
switch (value)
|
switch (value){
|
||||||
{
|
|
||||||
case BlendKeepDestAlpha :
|
case BlendKeepDestAlpha :
|
||||||
gl.BlendEquation(GL_FUNC_ADD);
|
gl.BlendEquation(GL_FUNC_ADD);
|
||||||
gl.BlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA,
|
gl.BlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue