The with-opengl-context macro won't execute the body if the context is nil. Added a simple timer to the sample to rotate the image. The post-redisplay method will now perform a display instead of an invalidate so as to not cause flickering on Win32.