Capping framerate

Moderator
Posts: 771
Joined: 2003.04
Post: #16
unknown Wrote:What two lines?

First hit on this Google search: enabling VBL Mac OS X

Direct link: http://developer.apple.com/technotes/tn/...l#Section5

If that is still too much work, then:
Code:
GLint swapInt = 1;
AGLSetInteger(aglContext, AGL_SWAP_INTERVAL, &swapInt);


GIYF Wink

Edit: HEY! arekkusu had already answered you, 12 posts ago - post #4
The thread he linked had the answer, the exact same link I just posted. Why didn't you read that? Huh
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #17
Ok, sorry im really dumb just now. havent slept in 30 hours.
Thanks a lot though!!

GIMF!

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Member
Posts: 370
Joined: 2002.04
Post: #18
There should be a new TLA - kinda like DUI. PWC - Programming While Caffeinated...
Preferably with a large fine attached Wink

Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #19
HAhah, there should be definitly

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  iPhone 3GS OpenGL strange framerate bug airfire 2 3,529 Dec 2, 2009 09:22 AM
Last Post: airfire
  GLUT consistant framerate? JeroMiya 2 4,577 Apr 30, 2007 02:25 AM
Last Post: OneSadCookie
  SDL Framerate Control joellevin 10 8,530 Jan 4, 2007 01:26 PM
Last Post: arekkusu
  Weird framerate problem Jesse 4 3,131 Sep 1, 2003 01:01 AM
Last Post: Jesse