[retro-gtk] retro-framebuffer: Use gfloat instead of float



commit a5ad9a55d63591730a931a41a58671107dbdf390
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat Feb 22 18:32:54 2020 +0500

    retro-framebuffer: Use gfloat instead of float

 shared/retro-framebuffer-private.h | 2 +-
 shared/retro-framebuffer.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shared/retro-framebuffer-private.h b/shared/retro-framebuffer-private.h
index a3aaed9..4ddda32 100644
--- a/shared/retro-framebuffer-private.h
+++ b/shared/retro-framebuffer-private.h
@@ -29,7 +29,7 @@ void retro_framebuffer_set_data (RetroFramebuffer *self,
                                  gsize             rowstride,
                                  guint             width,
                                  guint             height,
-                                 float             aspect_ratio,
+                                 gfloat            aspect_ratio,
                                  gpointer          data);
 
 #else
diff --git a/shared/retro-framebuffer.c b/shared/retro-framebuffer.c
index 094f238..22ec576 100644
--- a/shared/retro-framebuffer.c
+++ b/shared/retro-framebuffer.c
@@ -210,7 +210,7 @@ retro_framebuffer_set_data (RetroFramebuffer *self,
                             gsize             rowstride,
                             guint             width,
                             guint             height,
-                            float             aspect_ratio,
+                            gfloat            aspect_ratio,
                             gpointer          data)
 {
   gsize size;


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