confusing sceGuClear

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
rapso
Posts: 140
Joined: Mon Mar 28, 2005 6:35 am

confusing sceGuClear

Post by rapso »

Why does sceGuClear set clearflags to 0xd3, draw a sprite and set 0 to 0xd3? Doesn't the register 0xd3 already clear the screen?
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

:)
10011011 00101010 11010111 10001001 10111010
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post by chp »

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
Post Reply