Force overlay to software

Hi all!!

I wonder how to force the SDL overlay to software mode
i thought about grabbing the Xv port before SDL_CreateOverlay, but seem to
me to be a big ugly hack

is there a more elegant way to do this???

and does anybody have a clue on how to use a SrcRect like on software
overlay??
like if i want to zoom and only see a part of the image

on a harware overlay, i juste have to put negative values on DstRect and
everything is fine, but software overlay dont like this

i thought about using a standard surface as “displaysurface” in
createOverlay, and then blit this surface but, surpise, it don’t work

any clue??

sincerely,
julien vary_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !
http://www.msn.fr/msger/default.asp

How about
SDL_VIDEO_YUV_HWACCEL=0 ?>

Hi all!!

I wonder how to force the SDL overlay to software mode
i thought about grabbing the Xv port before SDL_CreateOverlay, but seem to
me to be a big ugly hack

is there a more elegant way to do this???

and does anybody have a clue on how to use a SrcRect like on software
overlay??
like if i want to zoom and only see a part of the image

on a harware overlay, i juste have to put negative values on DstRect and
everything is fine, but software overlay dont like this

i thought about using a standard surface as “displaysurface” in
createOverlay, and then blit this surface but, surpise, it don’t work

any clue??

sincerely,
julien vary