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
4343
4444typedef struct
4545{
46- uint32_t __attribute__((aligned (16 ))) guList [2 ][GPU_LIST_SIZE ];
46+ uint32_t __attribute__((aligned (16 ))) guList [3 ][GPU_LIST_SIZE ];
4747 void * frontbuffer ; /**< main screen buffer */
4848 void * backbuffer ; /**< buffer presented to display */
4949 PSP_BlendInfo blendInfo ; /**< current blend info */
@@ -981,7 +981,7 @@ static inline void PSP_SendQueueToGPU(SDL_Renderer *renderer) {
981981 sceGuSendList (GU_TAIL , data -> guList [data -> list_idx ], NULL );
982982
983983 // Starting a new list
984- data -> list_idx = (data -> list_idx != 0 ) ? 0 : 1 ;
984+ data -> list_idx = (data -> list_idx + 1 ) % 3 ;
985985
986986 sceGuStart (GU_SEND , data -> guList [data -> list_idx ]);
987987}
You can’t perform that action at this time.
0 commit comments