Quote:
Originally Posted by brad sue
About the debugger, I really tried but there is a bunch of commands that does not make too much sense to me.
About the comment of The Dark, refering to post#29 , I think I do not need to set the values of height and width since it is a member function.
so I still get the error.
|
You have changed the size of the
pixels array to match the new width and height. When you next try to set a pixel or print the screen, the
pixels member variable will be pointing to a buffer that matches the new width and height, but the
width and
height member variables will still have the old values. This will mean that you won't print what you are expecting to see.
I assume that that is the error you are seeing - its not printing correctly - as you haven't told us what the error is.