diff -r bbf46f59e123 -r 25ffed67c7ef graphicscomposition/openwfcompositionengine/composition/src/wfcscene.c --- a/graphicscomposition/openwfcompositionengine/composition/src/wfcscene.c Tue Aug 31 16:31:06 2010 +0300 +++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcscene.c Wed Sep 01 12:39:21 2010 +0100 @@ -1,5 +1,4 @@ -/* Copyright (c) 2009-2010 The Khronos Group Inc. - * Portions copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies) +/* Copyright (c) 2009 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the @@ -130,11 +129,8 @@ WFC_Scene_Create(WFC_CONTEXT* context) { WFC_SCENE* scene; - - DPRINT(("WFC_Scene_Create")); - - OWF_ASSERT(context); - + + DPRINT(("WFC_Scene_Create")); scene = SCENE(OWF_Pool_GetObject(context->scenePool)); OWF_ASSERT(scene); @@ -451,17 +447,3 @@ } return element; } - -/*----------------------------------------------------------------------------*/ -OWF_API_CALL WFC_ELEMENT* -WFC_Scene_TopMostElement(WFC_SCENE* scene) -{ - OWF_NODE* node = NULL; - - for (node = scene->elements; node && node->next; node = node->next) - { - /* All work done in the for statement, so no body */ - } - - return node ? ELEMENT(node->data) : NULL; -}