My image disappears!

Started by
0 comments, last by GMMigge 21 years, 4 months ago
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''?
Advertisement
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.
--m_nPostCount++

This topic is closed to new replies.

Advertisement