libogc: GX_SetArray const correctness

Post Reply
litghost
Posts: 3
Joined: Fri Oct 24, 2008 8:05 pm

libogc: GX_SetArray const correctness

Post by litghost » Fri Oct 24, 2008 8:17 pm

The current definition of GX_SetArray is:

Code: Select all

void GX_SetArray(u32 attr,void *ptr,u8 stride)
It should be:

Code: Select all

void GX_SetArray(u32 attr, const void *ptr,u8 stride)
Unless of course you expect the GX to be able to write to the void * array?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest