graphicscomposition/openwfcompositionengine/composition/src/wfcdevice.c
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 152 9f1c3fea0f87
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
     1 /* Copyright (c) 2009 The Khronos Group Inc.
     1 /* Copyright (c) 2009-2010 The Khronos Group Inc.
     2  *
     2  *
     3  * Permission is hereby granted, free of charge, to any person obtaining a
     3  * Permission is hereby granted, free of charge, to any person obtaining a
     4  * copy of this software and/or associated documentation files (the
     4  * copy of this software and/or associated documentation files (the
     5  * "Materials"), to deal in the Materials without restriction, including
     5  * "Materials"), to deal in the Materials without restriction, including
     6  * without limitation the rights to use, copy, modify, merge, publish,
     6  * without limitation the rights to use, copy, modify, merge, publish,
   822     for (i = 0; i < device->providers.length; i++)
   822     for (i = 0; i < device->providers.length; i++)
   823     {
   823     {
   824         WFC_IMAGE_PROVIDER* object;
   824         WFC_IMAGE_PROVIDER* object;
   825 
   825 
   826         object = (WFC_IMAGE_PROVIDER*)OWF_Array_GetItemAt(&device->providers, i);
   826         object = (WFC_IMAGE_PROVIDER*)OWF_Array_GetItemAt(&device->providers, i);
       
   827 		OWF_ASSERT(object);
   827         if (object->handle == handle)
   828         if (object->handle == handle)
   828         {
   829         {
   829         
   830         
   830             DPRINT(("  Destroying image provider %d", handle));
   831             DPRINT(("  Destroying image provider %d", handle));
   831             
   832