SwapBuffers calls itself
- by user146780
I'm making a Win32 application with OpenGL in the main window (not using GLUT).
I have my drawing code in WM_PAINT right now when I call swapBuffers it must be invalidating itself because it is constantly rerendering and using lots of cpu resources. How can I make it only render when it honestly receives WM_PAINT like when using GDI?
Thanks