mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 09:08:30 +00:00
Some clean ups and defines
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
|
||||
void sceGuDepthBuffer(void *zbp, int zbw)
|
||||
{
|
||||
sendCommandi(Z_BUF_PTR, ((unsigned int)zbp));
|
||||
sendCommandi(Z_BUF_WIDTH, ((((unsigned int)zbp) & 0xff000000) >> 8) | zbw);
|
||||
|
||||
gu_draw_buffer.depth_buffer = zbp;
|
||||
|
||||
if (!gu_draw_buffer.depth_width || (gu_draw_buffer.depth_width != zbw))
|
||||
gu_draw_buffer.depth_width = zbw;
|
||||
|
||||
sendCommandi(Z_BUF_PTR, ((unsigned int)zbp));
|
||||
sendCommandi(Z_BUF_WIDTH, ((((unsigned int)zbp) & 0xff000000) >> 8) | zbw);
|
||||
}
|
||||
|
Reference in New Issue
Block a user