1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Correct some blend modes.

This commit is contained in:
Sergey Lipskiy 2015-09-25 14:54:02 +06:00
parent 1fb78594c8
commit 11317c2d85

View File

@ -420,15 +420,18 @@ void OGLRender::_setBlendMode() const
case 0x0040: // Fzero
case 0xC810: // Blends fog
case 0xC811: // Blends fog
case 0x0C18: // Standard interpolated blend
case 0x0C19: // Used for antialiasing
case 0x0050: // Standard interpolated blend
case 0x0051: // Standard interpolated blend
case 0x0055: // Used for antialiasing
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
break;
case 0x0C19: // Used for antialiasing
case 0xC811: // Blends fog
glBlendFunc(GL_SRC_ALPHA, GL_DST_ALPHA);
break;
case 0x5000: // V8 explosions
glBlendFunc(GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA);
break;