Posted: Wed Nov 16, 2005 6:08 pm
As I said I need to do this more than 48x48x3 times, and calling always the Start/StopDrawing() is slower than just one time.Fred wrote:Why don't you put the GrabImage() outside of the startdrawing ?
http://www.purebasic.com
https://www.purebasic.fr/english/
As I said I need to do this more than 48x48x3 times, and calling always the Start/StopDrawing() is slower than just one time.Fred wrote:Why don't you put the GrabImage() outside of the startdrawing ?
48x48x3 times??? what are you doing there???? Cant you grab the image onces and display the needed block by using ClipSprite() !?DarkDragon wrote:As I said I need to do this more than 48x48x3 times, and calling always the Start/StopDrawing() is slower than just one time.Fred wrote:Why don't you put the GrabImage() outside of the startdrawing ?
Well it's my MapEditor. For ClipSprite() you need DX screens, but I don't want to use them(I need a Menu and other windows beside the DX Screen then and if I use Mouse compatibility in DX screens I can't go out of the DX Screen with the mouse and the Cursor isn't visible anymore).va!n wrote:48x48x3 times??? what are you doing there???? Cant you grab the image onces and display the needed block by using ClipSprite() !?DarkDragon wrote:As I said I need to do this more than 48x48x3 times, and calling always the Start/StopDrawing() is slower than just one time.Fred wrote:Why don't you put the GrabImage() outside of the startdrawing ?
Why do you use an easy way, when you can do it hard?