You are not logged in.

#1 2010-05-02 17:16:00

bobby
Member

[RESOLVED] Problem with GRRLIB_DrawImg

Hi all,

i have a little problem, this is my code :

Code:

GRRLIB_texImg *tex_logo1 = GRRLIB_LoadTexture(logo1);    
GRRLIB_texImg *tex_logo2 = GRRLIB_LoadTexture(lgogo2);

 while(1) {
        GRRLIB_FillScreen(0x000000FF);
        WPAD_ScanPads();  
        if (WPAD_ButtonsDown(0) & WPAD_BUTTON_HOME)  break;
    
     for(i=0;i<=255;i+=1) {
        
        GRRLIB_DrawImg(150, 100, tex_logo1, 0, 1, 1, 0xFFFFFFFF);
        GRRLIB_DrawImg(150, 300, tex_logo2, 0, 1, 1, 0xFFFFFFFF);
        
        GRRLIB_Render();
    }
....

it's work fine under dolphin, the two logo are on the screen...but when i try on the wii, only
a black screen.
but if i remove one of the two GRRLIB_Drawimg, it work....

you have an idea ?

thanks and sorry for my poor english...;-)

Last edited by bobby (2010-05-02 17:17:08)

Offline

 

#2 2010-05-02 19:22:01

bobby
Member

Re: [RESOLVED] Problem with GRRLIB_DrawImg

I find my mistake...my jpg file not 4 multiple... sad

it working fine now...

all the same it's currious because on dolphin my code don't cause problem hmm

Offline

 

Board footer

Powered by FluxBB