mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
* clutter/win32/clutter-event-win32.c (message_translate): Fix
signedness of old_xpos and old_ypos to get rid of compiler warnings. * clutter/win32/clutter-backend-win32.c (clutter_backend_win32_get_features): Cast the result of glGetString to a signed char pointer to avoid compiler warnings.
This commit is contained in:
parent
8ef653a9e8
commit
bfaacb10bf
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2008-05-16 Neil Roberts <neil@o-hand.com>
|
||||||
|
|
||||||
|
* clutter/win32/clutter-event-win32.c (message_translate): Fix
|
||||||
|
signedness of old_xpos and old_ypos to get rid of compiler
|
||||||
|
warnings.
|
||||||
|
|
||||||
|
* clutter/win32/clutter-backend-win32.c
|
||||||
|
(clutter_backend_win32_get_features): Cast the result of
|
||||||
|
glGetString to a signed char pointer to avoid compiler warnings.
|
||||||
|
|
||||||
2008-05-15 Neil Roberts <neil@o-hand.com>
|
2008-05-15 Neil Roberts <neil@o-hand.com>
|
||||||
|
|
||||||
* clutter/win32/clutter-stage-win32.c:
|
* clutter/win32/clutter-stage-win32.c:
|
||||||
|
@ -168,7 +168,7 @@ clutter_backend_win32_get_features (ClutterBackend *backend)
|
|||||||
|
|
||||||
/* FIXME: we really need to check if gl context is set */
|
/* FIXME: we really need to check if gl context is set */
|
||||||
|
|
||||||
extensions = glGetString (GL_EXTENSIONS);
|
extensions = (const gchar *) glGetString (GL_EXTENSIONS);
|
||||||
|
|
||||||
/* this will make sure that the GL context exists and is bound to a
|
/* this will make sure that the GL context exists and is bound to a
|
||||||
drawable */
|
drawable */
|
||||||
|
@ -370,7 +370,7 @@ message_translate (ClutterBackend *backend,
|
|||||||
{
|
{
|
||||||
WORD new_xpos = GET_X_LPARAM (msg->lParam);
|
WORD new_xpos = GET_X_LPARAM (msg->lParam);
|
||||||
WORD new_ypos = GET_Y_LPARAM (msg->lParam);
|
WORD new_ypos = GET_Y_LPARAM (msg->lParam);
|
||||||
guint old_xpos, old_ypos;
|
gint old_xpos, old_ypos;
|
||||||
|
|
||||||
clutter_actor_get_position (CLUTTER_ACTOR (stage),
|
clutter_actor_get_position (CLUTTER_ACTOR (stage),
|
||||||
&old_xpos, &old_ypos);
|
&old_xpos, &old_ypos);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user