1
Graphics / Re: Set Frame Rate Limit Not Working Even With Vertsync On
« on: May 27, 2012, 05:41:59 pm »
Hello,
I played around with my graphics drivers and did an entire system update on everything, still this is a problem for me. My graphics card is ATI Radeon HD 5670 and I'm using Code::Blocks
However, I found something very interesting. If I use a win32 GUI project, and copy the code to a new project, and all the resources, then it would fix the problem on the first try building and running the project, but if I run the compiled release .exe file in my bin folder, then it would break it. Compiling it again under SFML would fix it again.
This issue isn't as much of a problem using a console application project, but it still happens.
Sometimes it's broken to the point where even compiling it again would not fix it, but then all I need to do is make a new project with the same code and resources and it would work again.
I'm a beginner programmer so I really don't know what's going on here and how I can fix it. Does anyone know anything about this issue? If not, does anyone know where I can go to seek help on this issue? Thank you very much for your help.
EDIT: I've noticed that the issue tends to appear more often if I go watch videos online or something. For example, the program will run fine, but if I go and watch a youtube video, then come back and run the same exe file again, it would have FPS issues, and it won't be fixed until I make a new project and recompile it again. I have no clue what to do or even who to ask to solve this issue.
EDIT #2: Something else I realized, when it doesn't work (FPS issue present), then when I quit my program, it would not return 0. When it works fine, it returns 0 when I quit. When the FPS issue is present, main() returns something like -2147418113 <0x8000FFFF>, does that mean anything? Thanks again.
I played around with my graphics drivers and did an entire system update on everything, still this is a problem for me. My graphics card is ATI Radeon HD 5670 and I'm using Code::Blocks
However, I found something very interesting. If I use a win32 GUI project, and copy the code to a new project, and all the resources, then it would fix the problem on the first try building and running the project, but if I run the compiled release .exe file in my bin folder, then it would break it. Compiling it again under SFML would fix it again.
This issue isn't as much of a problem using a console application project, but it still happens.
Sometimes it's broken to the point where even compiling it again would not fix it, but then all I need to do is make a new project with the same code and resources and it would work again.
I'm a beginner programmer so I really don't know what's going on here and how I can fix it. Does anyone know anything about this issue? If not, does anyone know where I can go to seek help on this issue? Thank you very much for your help.
EDIT: I've noticed that the issue tends to appear more often if I go watch videos online or something. For example, the program will run fine, but if I go and watch a youtube video, then come back and run the same exe file again, it would have FPS issues, and it won't be fixed until I make a new project and recompile it again. I have no clue what to do or even who to ask to solve this issue.
EDIT #2: Something else I realized, when it doesn't work (FPS issue present), then when I quit my program, it would not return 0. When it works fine, it returns 0 when I quit. When the FPS issue is present, main() returns something like -2147418113 <0x8000FFFF>, does that mean anything? Thanks again.