File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ typedef struct
43
43
44
44
typedef struct
45
45
{
46
- uint32_t __attribute__((aligned (16 ))) guList [2 ][GPU_LIST_SIZE ];
46
+ uint32_t __attribute__((aligned (16 ))) guList [3 ][GPU_LIST_SIZE ];
47
47
void * frontbuffer ; /**< main screen buffer */
48
48
void * backbuffer ; /**< buffer presented to display */
49
49
PSP_BlendInfo blendInfo ; /**< current blend info */
@@ -983,7 +983,7 @@ static inline void PSP_SendQueueToGPU(SDL_Renderer *renderer) {
983
983
sceGuSendList (GU_TAIL , data -> guList [data -> list_idx ], NULL );
984
984
985
985
// Starting a new list
986
- data -> list_idx = (data -> list_idx != 0 ) ? 0 : 1 ;
986
+ data -> list_idx = (data -> list_idx + 1 ) % 3 ;
987
987
988
988
sceGuStart (GU_SEND , data -> guList [data -> list_idx ]);
989
989
}
You can’t perform that action at this time.
0 commit comments