[SDL 1.3] Problem with overlay pictures

Hi everybody,

I’m currently working on overlay pictures for my video player, and some problems appear.

I use the same source code in windowed mode and fullscreen mode to display all of my SDL_TEXTURE.

Code:

SDL_SetRenderDrawColor(m_renderer,0,0,0,255);
SDL_RenderClear(m_renderer);
SDL_RenderCopy(m_renderer,m_texture,NULL,&pos);//video texture
SDL_RenderCopy(m_renderer,overlay_texture,NULL,&overlay_position);//overlay texture
SDL_RenderPresent(m_renderer);

All of my renderers are SDL_RENDERER_SOFTWARE mode.
In windowed mode, there is no issues, it works fine.
When I active the fullscreen mode on the secondary monitor, the overlay pictures are displayed correctly but the place of video is completely replaced by the “Clear color”. (my graphics card is an ATI Radeon HD 5670).

I can see the video through the transparent portions of overlay picture but not over.

What might be the problem ? the graphics card ? bad positions for scaling (I check back several times and values seem correct) ?
Maybe a problem in SDL ? i don’t know ^^

I hope someone can help me !

Thanks a lot

Cyrille

Maybe these screenshots will help you to understand my issue:

the result that I want :
[Image: http://img195.imageshack.us/img195/8519/overlayok.png ]
By bubkadk (http://profile.imageshack.us/user/bubkadk) at 2011-12-09

I get this result in SDL fullscreen mode:
[Image: http://img607.imageshack.us/img607/4632/overlaybad.png ]
By bubkadk (http://profile.imageshack.us/user/bubkadk) at 2011-12-09

Thanks for your help