2008-06-26 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/osx/clutter-backend-osx.c: (clutter_backend_osx_get_display_size): Fix the allocation pool macro name.
This commit is contained in:
parent
244995a834
commit
561e95eedf
12
ChangeLog
12
ChangeLog
@ -1,13 +1,19 @@
|
|||||||
|
2008-06-26 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/osx/clutter-backend-osx.c:
|
||||||
|
(clutter_backend_osx_get_display_size): Fix the allocation pool
|
||||||
|
macro name.
|
||||||
|
|
||||||
2008-06-26 Matthew Allum <mallum@openedhand.com>
|
2008-06-26 Matthew Allum <mallum@openedhand.com>
|
||||||
|
|
||||||
* clutter/glx/clutter-glx-texture-pixmap.c:
|
* clutter/glx/clutter-glx-texture-pixmap.c:
|
||||||
Move the gl extension probe into the regular object init() rather than
|
Move the gl extension probe into the regular object init() rather than
|
||||||
class_init. Should be a little safer.
|
class_init. Should be a little safer.
|
||||||
|
|
||||||
2008-06-26 Matthew Allum <mallum@openedhand.com>
|
2008-06-26 Matthew Allum <mallum@openedhand.com>
|
||||||
|
|
||||||
* tests/test-pixmap.c: (main):
|
* tests/test-pixmap.c: (main):
|
||||||
Use strtol on arg as to take hex values. Tweak from James Ketrenos
|
Use strtol on arg as to take hex values. Tweak from James Ketrenos
|
||||||
|
|
||||||
2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
@ -176,7 +176,7 @@ clutter_backend_osx_get_display_size (ClutterBackend *backend,
|
|||||||
int display_width, display_height;
|
int display_width, display_height;
|
||||||
NSArray *array;
|
NSArray *array;
|
||||||
|
|
||||||
CLUTTER_OSX_ALLOC_POOL;
|
CLUTTER_OSX_POOL_ALLOC();
|
||||||
|
|
||||||
array = [NSScreen screens];
|
array = [NSScreen screens];
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ clutter_backend_osx_get_display_size (ClutterBackend *backend,
|
|||||||
display_height += rect.size.height;
|
display_height += rect.size.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
CLUTTER_OSX_RELEASE_POOL;
|
CLUTTER_OSX_POOL_RELEASE();
|
||||||
|
|
||||||
if (width)
|
if (width)
|
||||||
*width = display_width;
|
*width = display_width;
|
||||||
|
Loading…
Reference in New Issue
Block a user