My image disappears!
I just wonder why my image disappears. I was playing around with bitmaps and it works fine...as long as you ARE doing something else. When I leave my ''main''-loop empty (i.e. it doesn''t update any graphics), the bitmap I displayed in my init() disappears.
It''s like if the graphics card doesn''t have anything to do, it goes to sleep.
Why is this?
Is there like a function ''Do_nothing_but_do_something''?
hmmm... I need to see the code, but it might be that you''re clearing the surface right after you draw it, try moving the drawing code to the main loop function.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement