View Full Version : GTK Cairo advanced usage (VSync) help
March 29th, 2007, 10:17 AM
Does anyone know how to make a cairo widget wait for vsync?
My program looks like it is visually choppy, although it seems to be fast.
Do i have to use OpenGL?
Thanks for any input.
March 29th, 2007, 04:33 PM
March 30th, 2007, 04:33 AM
Yeah it works now.
GdkRegion *draw=gdk_drawable_get_clip_region (drawable_widget->window);
cairo_t* cr = gdk_cairo_create(drawable_widget->window);
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.