SwapBuffers() failing with windows Xp.
I recently moved my project to xp and encountered some problems, i did a error check on SwapBuffers() function and it was what was wrong with my program, now i dont know how to fix it. has anyone had problems wiht swapbuffers() before, if so, what? I know it isnt the hdc that i am passing in, i have used 3 forms to pass in my hdc into SwapBuffers(), eg. GetDC(windowhwnd), global varible for hdc, and function call to obtain hdc from my window class. So i dont think it is my hdc that is wrong.. does anyone know how to fix this problem or have a way to detect if my hdc is invalid and that is what is causing SwapBuffers() to fail..
Thx
"What we do in life, echos in eternity" -- Gladiator
Did you try what I said in the other post? I ran your program fine after I did that...
[edited by - FtMonkey on July 24, 2003 6:51:06 PM]
[edited by - FtMonkey on July 24, 2003 6:51:06 PM]
The monkeys are listening...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement