More render tests

This commit is contained in:
2026-06-20 09:39:53 -05:00
parent 91924e1259
commit 943297b685
14 changed files with 169 additions and 32 deletions
+3
View File
@@ -8,6 +8,7 @@
#include "display/displaypsp.h"
#include "display/render/renderpsp.h"
#include "display/display.h"
#include "display/screen.h"
#include "assert/assert.h"
#include <pspgu.h>
#include <pspgum.h>
@@ -26,6 +27,8 @@ static uint32_t __attribute__((aligned(64))) displayList[0x10000];
errorret_t displayPSPInit(void) {
DISPLAY.whichBuffer = 0;
SCREEN.width = PSP_SCREEN_W;
SCREEN.height = PSP_SCREEN_H;
sceGuInit();
sceGuStart(GU_DIRECT, displayList);
+1 -1
View File
@@ -251,7 +251,7 @@ static void draw3DQuad(const ropquad3d_t *q) {
verts[4] = (GuVert3D){u1,v1, abgr, brx,bry,brz};
verts[5] = (GuVert3D){u1,v0, abgr, trx,try_,trz};
sceGuDrawArray(
sceGumDrawArray(
GU_TRIANGLES,
GU_TEXTURE_32BITF | GU_COLOR_8888 | GU_VERTEX_32BITF | GU_TRANSFORM_3D,
6, 0, verts