/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Image.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Image.cs

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

--- trunk/gr2lib/core/coretypes/implementation/Image.cs	2010/07/15 14:22:00	72
+++ trunk/gr2lib/core/coretypes/implementation/Image.cs	2010/07/15 14:31:59	73
@@ -11,6 +11,12 @@
 
         public IntPtr NativePointer;
 
+        public Image()
+        {
+            this.MIPLevels = new List<MIPLevel>();
+            this.NativePointer = IntPtr.Zero;
+        }
+
         internal static Image ReadFromMemory(IntPtr pointer)
         {
             if (pointer == IntPtr.Zero) return null;

 

  ViewVC Help
Powered by ViewVC 1.1.22