Video Tutorials Rock.com Forums
September 06, 2010, 06:41:54 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Video Tutorials Rock.com Forums
>
General Category
>
Questions
>
glutTimerFunc Error
Pages: [
1
]
« previous
next »
Print
Author
Topic: glutTimerFunc Error (Read 479 times)
Pottsy
Newbie
Posts: 1
glutTimerFunc Error
«
on:
February 25, 2010, 02:48:33 PM »
Hi,
First i'd like to say what a great help you are with all your tutorial stuff, makes things alot easier to learn lol.
Anyway, making shapes rotate...
I basically copied the code word for word (But related to my code) and i get this error
"error C2664: 'glutTimerFunc' : cannot convert parameter 2 from 'void (__cdecl *)(void)' to 'void (__cdecl *)(int)'"
I'm not sure why it comes up with this, as i was even watching the video and typing as you were, yet i got the error and you didn't? lol. Could it possibly be to do with version? As i saw you were using 2005, whereas i run 2008
Thanks in advance
Logged
edison_wannabe
Newbie
Posts: 1
Re: glutTimerFunc Error
«
Reply #1 on:
March 05, 2010, 05:22:28 PM »
Are you sure the "update" function definition contains the argument "int val" ?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Questions
=> User-Made Projects
=> Site Suggestions
=> Corrections and Bugs
=> General Discussion
-----------------------------
Obsolete Boards
-----------------------------
=> Game Ideas
Loading...