/[gr2lib]/trunk/gr2lib/core/coreapi/coreapi.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coreapi/coreapi.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib/core/coreapi/coreapi.cs	2010/07/19 09:19:24	144
+++ trunk/gr2lib/core/coreapi/coreapi.cs	2010/07/19 09:39:21	145
@@ -43,16 +43,16 @@
         #region Granny2 API Granny Texture Format Support          
 
         //extern GRANNY_DYNLINKDATA(granny_data_type_definition *) GrannyPixelLayoutType;
-        [Obsolete("GrannyCopyTextureImage() -- currently does not work [need to research this more]", true)]
+        //[Obsolete("GrannyCopyTextureImage() -- currently does not work [need to research this more]", true)]
         [DllImport("granny2.dll", EntryPoint = "_GrannyCopyTextureImage@32", CallingConvention = CallingConvention.StdCall)]
-         public static extern bool GrannyCopyTextureImage(Texture Texture,
+         public static extern bool GrannyCopyTextureImage(IntPtr Texture,
                                             int ImageIndex,
                                             int MIPIndex,
-                                            Layout Layout,
+                                            IntPtr Layout,
                                             int DestWidth,
                                             int DestHeight,
                                             int DestStride,
-                                            ref byte[] Pixels);
+                                            IntPtr Pixels);
         #endregion
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22