Page 1 of 1

libogc: GX_SetArray const correctness

Posted: Fri Oct 24, 2008 8:17 pm
by litghost
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?