windows 7 - How to recover OpenGL buffers after minimization? -
assume made application uses sdl + opengl display graphics. scene not dynamic drawing , swapping of buffers once in while.
i observed after minimization , bringing of window under windows 7 displayed content gets destroyed , random stuff displayed. there way can recover without repeating last rendering?
i'm using windows 7 proffesional sp1 intel g45/g43 express chipset.
you copy texture (with glcopytexsubimage2d
), , render texture when need display stuff. or render texture begin via fbos.
but there no automatic way recover image data. really, it'd easier re-render display when restored. may have same problem if window overlaps display.
Comments
Post a Comment