forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

confusing sceGuClear

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
rapso



Joined: 28 Mar 2005
Posts: 147

PostPosted: Mon Nov 06, 2006 11:18 am    Post subject: confusing sceGuClear Reply with quote

Why does sceGuClear set clearflags to 0xd3, draw a sprite and set 0 to 0xd3? Doesn't the register 0xd3 already clear the screen?
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Mon Nov 06, 2006 6:15 pm    Post subject: Reply with quote

:)
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Mon Nov 06, 2006 10:25 pm    Post subject: Reply with quote

0xd3 is only enabling the "clear mode" (which overrides whatever texture-settings or other modes that are enabled), nothing else. You have to clear the portion you need yourself. After the clear has been done, the clear mode is disabled.
_________________
GE Dominator
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group