Fix for Qt GUI OpenGL blending parameters.
This commit is contained in:
parent
1ad9a3d857
commit
06467ce73a
|
@ -671,7 +671,7 @@ void ConsoleViewGL_t::paintGL(void)
|
||||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||||
|
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glBlendFunc(GL_ONE, GL_ONE);
|
glBlendFunc(GL_ONE, GL_ZERO);
|
||||||
//glBlendFunc(GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
//glBlendFunc(GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
if ( textureType == GL_TEXTURE_RECTANGLE )
|
if ( textureType == GL_TEXTURE_RECTANGLE )
|
||||||
|
|
Loading…
Reference in New Issue