diff -r 5d03bc08d59c -r 01a6848ebfd7 graphicscomposition/openwfcompositionengine/composition/src/wfcscene.c --- a/graphicscomposition/openwfcompositionengine/composition/src/wfcscene.c Tue Feb 02 01:47:50 2010 +0200 +++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcscene.c Fri Apr 16 16:21:04 2010 +0300 @@ -1,4 +1,4 @@ -/* Copyright (c) 2009 The Khronos Group Inc. +/* Copyright (c) 2009-2010 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 @@ -129,8 +129,11 @@ WFC_Scene_Create(WFC_CONTEXT* context) { WFC_SCENE* scene; - - DPRINT(("WFC_Scene_Create")); + + DPRINT(("WFC_Scene_Create")); + + OWF_ASSERT(context); + scene = SCENE(OWF_Pool_GetObject(context->scenePool)); OWF_ASSERT(scene);