Original Post
Hello, I am experiencing a problem with my simple wrapper of DirectX June 2007. I can render textures but if I minimize the window the program crashes. This problem only happens once I've cleared my render target before drawing and also with using my swap buffers function. Can anyone tell me why my window decides to lag when I start to render? The code I'm using besides it being in a class is exactly copied from the Wendy Jones book I am using. Any help would be greatly appreciated.