Skip to main content
gamedev.net
🔒 Locked

get registered GLUT callback function

Started by Nordberg 0 replies 250+ views
Original Post
Nordberg
Nordberg
Hello, i want to override the glutSwapBuffers () function to change several states before swapping the buffers after all. But I have to decide wether the callback function registered with glutReshapeFunc is called. I saw the callbak set within the glut-Library. But now i want to check wether the function was called in an if statement. How can I get the called function ?? My configuration: Linux, X11 My theory: - Use GLX to get the callback or - with GLUT Is anybody out there who can fix my problem ?? Thx a lot Nordberg p.s: sorry for my bad english ;-)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.