mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-23 02:39:19 +00:00
[CHG] Doc improvement
This commit is contained in:
parent
37077c8da9
commit
c77528dd8d
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ void RawTo4x4RGBA (const u8 *src, void *dst,
|
|||
* @param my_img The JPEG, PNG or Bitmap buffer to load.
|
||||
* @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)
|
||||
return (GRRLIB_LoadTextureJPG(my_img));
|
||||
else if (my_img[0]=='B' && my_img[1]=='M')
|
||||
|
|
|
@ -69,7 +69,7 @@ int main() {
|
|||
WPAD_SetDataFormat(WPAD_CHAN_0, WPAD_FMT_BTNS_ACC_IR);
|
||||
|
||||
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_Font2 = GRRLIB_LoadBMF(frontal);
|
||||
|
|
Loading…
Reference in a new issue