[CHG] Doc improvement

This commit is contained in:
Crayon2000 2009-12-15 17:31:32 +00:00
parent 37077c8da9
commit c77528dd8d
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ void RawTo4x4RGBA (const u8 *src, void *dst,
* @param my_img The JPEG, PNG or Bitmap buffer to load. * @param my_img The JPEG, PNG or Bitmap buffer to load.
* @return A GRRLIB_texImg structure filled with image information. * @return A GRRLIB_texImg structure filled with image information.
*/ */
GRRLIB_texImg* GRRLIB_LoadTexture (const u8 my_img[]) { GRRLIB_texImg* GRRLIB_LoadTexture (const u8 *my_img) {
if (my_img[0]==0xFF && my_img[1]==0xD8 && my_img[2]==0xFF) if (my_img[0]==0xFF && my_img[1]==0xD8 && my_img[2]==0xFF)
return (GRRLIB_LoadTextureJPG(my_img)); return (GRRLIB_LoadTextureJPG(my_img));
else if (my_img[0]=='B' && my_img[1]=='M') else if (my_img[0]=='B' && my_img[1]=='M')

View file

@ -69,7 +69,7 @@ int main() {
WPAD_SetDataFormat(WPAD_CHAN_0, WPAD_FMT_BTNS_ACC_IR); WPAD_SetDataFormat(WPAD_CHAN_0, WPAD_FMT_BTNS_ACC_IR);
GRRLIB_texImg *tex_test_jpg = GRRLIB_LoadTexture(test_jpg); GRRLIB_texImg *tex_test_jpg = GRRLIB_LoadTexture(test_jpg);
GRRLIB_texImg *tex_test_bmp = GRRLIB_LoadTextureBMP(test_bmp); GRRLIB_texImg *tex_test_bmp = GRRLIB_LoadTexture(test_bmp);
GRRLIB_bytemapFont *bmf_Font1 = GRRLIB_LoadBMF(ocean); GRRLIB_bytemapFont *bmf_Font1 = GRRLIB_LoadBMF(ocean);
GRRLIB_bytemapFont *bmf_Font2 = GRRLIB_LoadBMF(frontal); GRRLIB_bytemapFont *bmf_Font2 = GRRLIB_LoadBMF(frontal);