Thank you,
but my program isn't faster with those commands.
Perhaps the main problem isn't the pixel drawing.
Btw: Why is Rect that fast when painting the whole screen white?
I mean it takes less than 0.5 ms. With Lockedpixels and a For-Loop it takes about 11ms.
but my program isn't faster with those commands.
Perhaps the main problem isn't the pixel drawing.
Btw: Why is Rect that fast when painting the whole screen white?
I mean it takes less than 0.5 ms. With Lockedpixels and a For-Loop it takes about 11ms.