In the meanwhile I found a way to get the screen refresh rate to use as default in the timer. I don't know if there is something helpful in the OSG libs but since nobody answers ... here is the code:
DEVMODE lpDevMode; memset(&lpDevMode, 0, sizeof(DEVMODE)); lpDevMode.dmSize = sizeof(DEVMODE); lpDevMode.dmDriverExtra = 0; if(EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &lpDevMode) != 0) { rate = lpDevMode.dmDisplayFrequency; } ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39566#39566 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org