[PATCH 3/3] gears: add a warning about refresh rate limitation

Olivier Blin olivier.blin at softathome.com
Thu Jul 26 09:55:53 PDT 2012


---
 clients/gears.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clients/gears.c b/clients/gears.c
index 19165e7..aee0357 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -435,6 +435,7 @@ gears_create(struct display *display)
 
 	gettimeofday(&tv, NULL);
 	gears->last_fps = tv.tv_sec * 1000 + tv.tv_usec / 1000;
+	printf("Warning: FPS count is limited by the wayland compositor or monitor refresh rate\n");
 
 	glEnable(GL_NORMALIZE);
 
-- 
1.7.11.3

This message and any attachments herein are confidential, intended solely for the addressees and are SoftAtHome's ownership. Any unauthorized use or dissemination is prohibited. If you are not the intended addressee of this message, please cancel it immediately and inform the sender.


More information about the wayland-devel mailing list