2008-20-10 Matthew Allum <mallum@o-hand.com>
* clutter/osx/clutter-stage-osx.c Fix up a couple of typos breaking build.
This commit is contained in:
parent
d192f73b78
commit
2bc7289aee
@ -118,7 +118,7 @@ clutter_stage_osx_state_update (ClutterStageOSX *self,
|
|||||||
@implementation ClutterGLView
|
@implementation ClutterGLView
|
||||||
- (id) initWithFrame: (NSRect)aFrame pixelFormat:(NSOpenGLPixelFormat*)aFormat stage:(ClutterActor*)aStage
|
- (id) initWithFrame: (NSRect)aFrame pixelFormat:(NSOpenGLPixelFormat*)aFormat stage:(ClutterActor*)aStage
|
||||||
{
|
{
|
||||||
int sw = 1;
|
long sw = 1;
|
||||||
|
|
||||||
if ((self = [super initWithFrame:aFrame pixelFormat:aFormat]) != nil)
|
if ((self = [super initWithFrame:aFrame pixelFormat:aFormat]) != nil)
|
||||||
{
|
{
|
||||||
@ -261,15 +261,15 @@ clutter_stage_osx_realize (ClutterActor *actor)
|
|||||||
{
|
{
|
||||||
ClutterStageOSX *self = CLUTTER_STAGE_OSX (actor);
|
ClutterStageOSX *self = CLUTTER_STAGE_OSX (actor);
|
||||||
ClutterBackendOSX *backend_osx;
|
ClutterBackendOSX *backend_osx;
|
||||||
gboolean is_offscreen;
|
gboolean offscreen;
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "realize");
|
CLUTTER_NOTE (BACKEND, "realize");
|
||||||
|
|
||||||
CLUTTER_OSX_POOL_ALLOC();
|
CLUTTER_OSX_POOL_ALLOC();
|
||||||
|
|
||||||
g_object_get (actor, "offscreen", &is_offscreen, NULL);
|
g_object_get (actor, "offscreen", &offscreen, NULL);
|
||||||
|
|
||||||
if (is_offcreen)
|
if (offscreen)
|
||||||
{
|
{
|
||||||
g_warning("OSX Backend does not yet support offscreen rendering\n");
|
g_warning("OSX Backend does not yet support offscreen rendering\n");
|
||||||
CLUTTER_ACTOR_UNSET_FLAGS (actor, CLUTTER_ACTOR_REALIZED);
|
CLUTTER_ACTOR_UNSET_FLAGS (actor, CLUTTER_ACTOR_REALIZED);
|
||||||
|
Loading…
Reference in New Issue
Block a user