From feb16bcf9524e8a3c0056e8b40c9159acc2cb296 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 24 Jun 2008 22:07:15 +0000 Subject: [PATCH] Bug 979 - Wrong call convension for SwapIntervalProc in win32 backend * clutter/win32/clutter-backend-win32.c: Use the correct calling convention for SwapInterval. Thanks to Haakon Sporsheim. --- ChangeLog | 7 +++++++ clutter/win32/clutter-backend-win32.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ac64ce612..428f056dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-24 Neil Roberts + + Bug 979 - Wrong call convension for SwapIntervalProc in win32 backend + + * clutter/win32/clutter-backend-win32.c: Use the correct calling + convention for SwapInterval. Thanks to Haakon Sporsheim. + 2008-06-24 Emmanuele Bassi Bug 989 - Add a search path for clutter script assets diff --git a/clutter/win32/clutter-backend-win32.c b/clutter/win32/clutter-backend-win32.c index e5c2be3a3..186a987c1 100644 --- a/clutter/win32/clutter-backend-win32.c +++ b/clutter/win32/clutter-backend-win32.c @@ -40,7 +40,7 @@ G_DEFINE_TYPE (ClutterBackendWin32, clutter_backend_win32, CLUTTER_TYPE_BACKEND); -typedef int (* SwapIntervalProc) (int interval); +typedef int (WINAPI * SwapIntervalProc) (int interval); /* singleton object */ static ClutterBackendWin32 *backend_singleton = NULL;