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

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

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

--- trunk/gr2lib/core/coretypes/implementation/Texture.cs	2010/07/15 14:22:00	72
+++ trunk/gr2lib/core/coretypes/implementation/Texture.cs	2010/07/15 14:31:59	73
@@ -35,6 +35,16 @@
 
         public Texture()
         {
+            this.FromFileName = "";
+            this.TextureType = 0;
+            this.Width = 0;
+            this.Height = 0;
+            this.Encoding = 0;
+            this.SubFormat = 0;
+            this.Layout = new Layout();
+            this.Images = new List<Image>();
+            this.ExtendedData = IntPtr.Zero;
+            this.NativePointer = IntPtr.Zero;
         }
 
         internal static Texture ReadFromMemory(IntPtr pointer)

 

  ViewVC Help
Powered by ViewVC 1.1.22