Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/fceux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharry <hrosen2016@gmail.com>2022-10-10 03:11:54 +0300
committerharry <hrosen2016@gmail.com>2022-10-10 03:11:54 +0300
commit06467ce73aecf1e96c54dbf6e59a00fd617f2eb4 (patch)
tree968d6dbd4a22bccaaa9d0fd96410e10f90590d70
parent1ad9a3d857eb4fa39bebe665009c8fff1b6c8223 (diff)
Fix for Qt GUI OpenGL blending parameters.
-rw-r--r--src/drivers/Qt/ConsoleViewerGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Qt/ConsoleViewerGL.cpp b/src/drivers/Qt/ConsoleViewerGL.cpp
index f836dd88..c877cefe 100644
--- a/src/drivers/Qt/ConsoleViewerGL.cpp
+++ b/src/drivers/Qt/ConsoleViewerGL.cpp
@@ -671,7 +671,7 @@ void ConsoleViewGL_t::paintGL(void)
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glEnable(GL_BLEND);
- glBlendFunc(GL_ONE, GL_ONE);
+ glBlendFunc(GL_ONE, GL_ZERO);
//glBlendFunc(GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if ( textureType == GL_TEXTURE_RECTANGLE )