mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 09:08:30 +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);
|
||||
|
||||
// setup
|
||||
sceGuStart(0,list);
|
||||
sceGuStart(GU_DIRECT,list);
|
||||
sceGuDrawBuffer(GU_PSM_8888,(void*)0,BUF_WIDTH);
|
||||
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)0x88000,BUF_WIDTH);
|
||||
sceGuDepthBuffer((void*)0x110000,BUF_WIDTH);
|
||||
@@ -183,7 +183,7 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
unsigned int x,y;
|
||||
|
||||
sceGuStart(0,list);
|
||||
sceGuStart(GU_DIRECT,list);
|
||||
|
||||
sceGuClearColor(0);
|
||||
sceGuClearDepth(0);
|
||||
|
@@ -560,7 +560,7 @@ void SpharmGenTest(int rendermode)
|
||||
|
||||
|
||||
// Start list
|
||||
sceGuStart(0,(unsigned int *)spharmlist);
|
||||
sceGuStart(GU_DIRECT,(unsigned int *)spharmlist);
|
||||
|
||||
set_rendermode(rendermode,&color);
|
||||
|
||||
|
Reference in New Issue
Block a user