mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
(RGL) Cleanup
This commit is contained in:
parent
48480bc22f
commit
90786687d4
@ -260,23 +260,7 @@ static GLboolean _RGLInitFromRM( RGLResource *rmResource )
|
||||
cellGcmSetBlendEquationInline( &_RGLState.fifo, CELL_GCM_FUNC_ADD, CELL_GCM_FUNC_ADD );
|
||||
cellGcmSetBlendFuncInline( &_RGLState.fifo, CELL_GCM_ONE, CELL_GCM_ZERO, CELL_GCM_ONE, CELL_GCM_ZERO );
|
||||
cellGcmSetClearColorInline( &_RGLState.fifo, hwColor);
|
||||
cellGcmSetAlphaTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetBlendEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetAlphaTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetBlendEnableMrtInline( &_RGLState.fifo, CELL_GCM_FALSE, CELL_GCM_FALSE, CELL_GCM_FALSE);
|
||||
cellGcmSetLogicOpEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetCullFaceEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetCullFaceEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetDepthBoundsTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetDepthTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetPolygonOffsetFillEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetPolygonOffsetLineEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetRestartIndexEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetFragmentProgramGammaEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetScissorInline( &_RGLState.fifo, 0, 0, 4095, 4095);
|
||||
cellGcmSetStencilTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetTwoSidedStencilTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetTwoSideLightEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetVertexAttribOutputMaskInline( &_RGLState.fifo, s->vertexProgramAttribMask & s->fragmentProgramAttribMask);
|
||||
|
||||
cellGcmSetPointSpriteControlInline( &_RGLState.fifo, CELL_GCM_FALSE, 1, 0);
|
||||
@ -1234,11 +1218,6 @@ GLAPI void psglSwap(void)
|
||||
cellGcmSetWaitFlip();
|
||||
}
|
||||
|
||||
cellGcmSetPolySmoothEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetLineStippleEnableInline( &_RGLState.fifo, CELL_GCM_FALSE );
|
||||
cellGcmSetPolygonStippleEnableInline( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
cellGcmSetDepthBoundsTestEnable( &_RGLState.fifo, CELL_GCM_FALSE);
|
||||
|
||||
LContext->needValidate = PSGL_VALIDATE_ALL;
|
||||
|
||||
for(int unit = 0; unit < MAX_TEXTURE_UNITS; unit++)
|
||||
|
@ -1683,8 +1683,6 @@ GLAPI void APIENTRY glClear( GLbitfield mask )
|
||||
|
||||
if ( newmask )
|
||||
{
|
||||
cellGcmSetScissorInline( &_RGLState.fifo, 0, 0, 4095, 4095);
|
||||
|
||||
static float _RGLClearVertexBuffer[12] __attribute__((aligned(128))) =
|
||||
{
|
||||
-1.f, -1.f, 0.f,
|
||||
|
Loading…
Reference in New Issue
Block a user