[cogl/wip/frame-synchronization] Fix return type for cogl_frame_info_get_refresh_rate



commit aafcec18557621e9965e2bc97ccc2fc7378fe0b6
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Jan 29 01:41:37 2013 -0500

    Fix return type for cogl_frame_info_get_refresh_rate

 cogl/cogl-frame-info.c |    2 +-
 cogl/cogl-frame-info.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-frame-info.c b/cogl/cogl-frame-info.c
index a130f8d..a64e728 100644
--- a/cogl/cogl-frame-info.c
+++ b/cogl/cogl-frame-info.c
@@ -59,7 +59,7 @@ cogl_frame_info_get_presentation_time (CoglFrameInfo *info)
   return info->presentation_time;
 }
 
-int64_t
+float
 cogl_frame_info_get_refresh_rate (CoglFrameInfo *info)
 {
   return info->refresh_rate;
diff --git a/cogl/cogl-frame-info.h b/cogl/cogl-frame-info.h
index 5587862..81e41f1 100644
--- a/cogl/cogl-frame-info.h
+++ b/cogl/cogl-frame-info.h
@@ -110,7 +110,7 @@ int64_t cogl_frame_info_get_presentation_time (CoglFrameInfo *info);
  * Since: 1.14
  * Stability: unstable
  */
-int64_t cogl_frame_info_get_refresh_rate (CoglFrameInfo *info);
+float cogl_frame_info_get_refresh_rate (CoglFrameInfo *info);
 
 /**
  * cogl_frame_info_get_output:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]