/[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

revision 102 by william, Sat Jul 17 13:54:18 2010 UTC revision 106 by william, Sat Jul 17 14:52:37 2010 UTC
# Line 5  using gr2lib.core.helpers; Line 5  using gr2lib.core.helpers;
5    
6  using gr2lib.core.interfaces;  using gr2lib.core.interfaces;
7  using System.Diagnostics;  using System.Diagnostics;
8    using gr2lib.core.exceptions;
9    
10  namespace gr2lib.core.coretypes.implementation  namespace gr2lib.core.coretypes.implementation
11  {  {
# Line 46  namespace gr2lib.core.coretypes.implemen Line 47  namespace gr2lib.core.coretypes.implemen
47              managed.NativePointer = pointer;              managed.NativePointer = pointer;
48              return managed;              return managed;
49              }              }
50              catch              catch (Exception ex)
51              {              {
52                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
53                  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE                  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
54                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
55  #endif  #endif
56                  return default(Texture);                  return default(Texture);
57              }              }
# Line 84  namespace gr2lib.core.coretypes.implemen Line 85  namespace gr2lib.core.coretypes.implemen
85                  managed.ExtendedData = native.ExtendedData;                  managed.ExtendedData = native.ExtendedData;
86                  return managed;                  return managed;
87              }              }
88              catch              catch (Exception ex)
89              {              {
90                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
91  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
92                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
93  #endif  #endif
94                  return default(Texture);                  return default(Texture);
95              }              }

Legend:
Removed from v.102  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.22