From c451d0501b594db7de2447f8c5fbc4afb303c3d4 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 19 Jun 2007 09:10:37 +0000 Subject: [PATCH] 2007-06-19 Matthew Allum * clutter/clutter-stage.c: * clutter/clutter-stage.h: * clutter/glx/clutter-stage-glx.c: * clutter/sdl/clutter-stage-sdl.c: Add window title setting/getting functionality. * clutter/clutter-event.c: (clutter_key_event_unicode): Remove uneeded convert case call. * clutter/cogl/gl/cogl.c: (cogl_rectangle) Use parameters correctly for underlying GL rect call. * tests/test-entry.c: Add a window title. --- gl/cogl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl/cogl.c b/gl/cogl.c index eaeaefa43..a71f9025d 100644 --- a/gl/cogl.c +++ b/gl/cogl.c @@ -415,7 +415,7 @@ cogl_texture_sub_image_2d (COGLenum target, void cogl_rectangle (gint x, gint y, guint width, guint height) { - GE( glRecti (x,y ,width, height) ); + GE( glRecti (x, y, x + width, y + height) ); } /* FIXME: Should use ClutterReal or Fixed */