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 */
@@ -981,7 +981,7 @@ static inline void PSP_SendQueueToGPU(SDL_Renderer *renderer) {
981
981
sceGuSendList (GU_TAIL , data -> guList [data -> list_idx ], NULL );
982
982
983
983
// Starting a new list
984
- data -> list_idx = (data -> list_idx != 0 ) ? 0 : 1 ;
984
+ data -> list_idx = (data -> list_idx + 1 ) % 3 ;
985
985
986
986
sceGuStart (GU_SEND , data -> guList [data -> list_idx ]);
987
987
}
You can’t perform that action at this time.
0 commit comments