Original Post
Hello all,
I have bought and read the iso book of TANSTAAFL. I used his CRenderer class which has a method ScrollFrame. This method will only update the needed rects when you scroll in a certain direction.
Now, I add a large object in my map which is about three tiles high. Then I scroll down, until the building has disappeared. After that I scroll up again to show the building. That''s where the strange thing happens, as you can see on the image:
Can anyone tell me what I should do to remove this error. I tried to enlarge the rcUpdate rects but it didn''t matter. I also did an entire repaint of the ScreenSpace and that worked well (CRenderer::AddRect(scroller->GetScreenSpace())). Only my FPS are going down very fast, so that''s not a good solution.
thanks
Can anyone tell me what I should do to remove this error. I tried to enlarge the rcUpdate rects but it didn''t matter. I also did an entire repaint of the ScreenSpace and that worked well (CRenderer::AddRect(scroller->GetScreenSpace())). Only my FPS are going down very fast, so that''s not a good solution.
thanks
