mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 17:09:09 +00:00
Stop using magic numbers for sceGuStart
This commit is contained in:
@@ -152,7 +152,7 @@ int main(int argc, char* argv[])
|
|||||||
logo_temp2 = convertimage(logo_start,64);
|
logo_temp2 = convertimage(logo_start,64);
|
||||||
|
|
||||||
// setup
|
// setup
|
||||||
sceGuStart(0,list);
|
sceGuStart(GU_DIRECT,list);
|
||||||
sceGuDrawBuffer(GU_PSM_8888,(void*)0,BUF_WIDTH);
|
sceGuDrawBuffer(GU_PSM_8888,(void*)0,BUF_WIDTH);
|
||||||
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)0x88000,BUF_WIDTH);
|
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)0x88000,BUF_WIDTH);
|
||||||
sceGuDepthBuffer((void*)0x110000,BUF_WIDTH);
|
sceGuDepthBuffer((void*)0x110000,BUF_WIDTH);
|
||||||
@@ -183,7 +183,7 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
unsigned int x,y;
|
unsigned int x,y;
|
||||||
|
|
||||||
sceGuStart(0,list);
|
sceGuStart(GU_DIRECT,list);
|
||||||
|
|
||||||
sceGuClearColor(0);
|
sceGuClearColor(0);
|
||||||
sceGuClearDepth(0);
|
sceGuClearDepth(0);
|
||||||
|
@@ -560,7 +560,7 @@ void SpharmGenTest(int rendermode)
|
|||||||
|
|
||||||
|
|
||||||
// Start list
|
// Start list
|
||||||
sceGuStart(0,(unsigned int *)spharmlist);
|
sceGuStart(GU_DIRECT,(unsigned int *)spharmlist);
|
||||||
|
|
||||||
set_rendermode(rendermode,&color);
|
set_rendermode(rendermode,&color);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user