Hi all,
My image surface is clippered and using BltFast to show (has to be BltFast cuz it enables negative positioning), does it mean that I can't do any rotation/scaling with this surface at the same time?
I've tried makng 2 copies of the image surface, clipper the upper one and show it using BltFast, then scaling the bottom layer using Blt as follow ..
//setting clipper and stick an image on this surface
m_bottomSurface.SetClipper(&some;_rect);
m_bottomSurface.BltFast(0, -100, &m;_topSurface, NULL, NULL, NULL);
//show everything
pBackbuffer->BltFast(0, y_pos, &m;_bottomSurface, NULL, NULL, NULL);
Sounded alright to me but it didn't work, i got a black sreen
Any suggestions would be appreciated!
My image surface is clippered and using BltFast to show (has to be BltFast cuz it enables negative positioning), does it mean that I can't do any rotation/scaling with this surface at the same time?
I've tried makng 2 copies of the image surface, clipper the upper one and show it using BltFast, then scaling the bottom layer using Blt as follow ..
//setting clipper and stick an image on this surface
m_bottomSurface.SetClipper(&some;_rect);
m_bottomSurface.BltFast(0, -100, &m;_topSurface, NULL, NULL, NULL);
//show everything
pBackbuffer->BltFast(0, y_pos, &m;_bottomSurface, NULL, NULL, NULL);
Sounded alright to me but it didn't work, i got a black sreen
Any suggestions would be appreciated!