mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
(RGL) Add back cellGcmSetAlphaFunc
This commit is contained in:
parent
8c7e235e32
commit
0890fced4b
@ -248,6 +248,7 @@ static GLboolean _RGLInitFromRM( RGLResource *rmResource )
|
|||||||
|
|
||||||
ref = RGL_CLAMPF_01(ref);
|
ref = RGL_CLAMPF_01(ref);
|
||||||
|
|
||||||
|
cellGcmSetAlphaFunc( &_RGLState.fifo, CELL_GCM_ALWAYS, RGL_QUICK_FLOAT2UINT( ref * 255.0f ));
|
||||||
cellGcmSetBlendColor( &_RGLState.fifo, hwColor, hwColor);
|
cellGcmSetBlendColor( &_RGLState.fifo, hwColor, hwColor);
|
||||||
cellGcmSetBlendEquation( &_RGLState.fifo, CELL_GCM_FUNC_ADD, CELL_GCM_FUNC_ADD );
|
cellGcmSetBlendEquation( &_RGLState.fifo, CELL_GCM_FUNC_ADD, CELL_GCM_FUNC_ADD );
|
||||||
cellGcmSetBlendFunc( &_RGLState.fifo, CELL_GCM_ONE, CELL_GCM_ZERO, CELL_GCM_ONE, CELL_GCM_ZERO );
|
cellGcmSetBlendFunc( &_RGLState.fifo, CELL_GCM_ONE, CELL_GCM_ZERO, CELL_GCM_ONE, CELL_GCM_ZERO );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user