/[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 95 by william, Sat Jul 17 05:10:22 2010 UTC revision 102 by william, Sat Jul 17 13:54:18 2010 UTC
# Line 46  namespace gr2lib.core.coretypes.implemen Line 46  namespace gr2lib.core.coretypes.implemen
46              managed.NativePointer = pointer;              managed.NativePointer = pointer;
47              return managed;              return managed;
48              }              }
49              catch (Exception ex)              catch
50              {              {
51                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
52                  Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());                  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
53                    Console.WriteLine(st.ToString());
54    #endif
55                  return default(Texture);                  return default(Texture);
56              }              }
57          }          }
# Line 82  namespace gr2lib.core.coretypes.implemen Line 84  namespace gr2lib.core.coretypes.implemen
84                  managed.ExtendedData = native.ExtendedData;                  managed.ExtendedData = native.ExtendedData;
85                  return managed;                  return managed;
86              }              }
87              catch (Exception ex)              catch
88              {              {
89                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
90                  Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
91                    Console.WriteLine(st.ToString());
92    #endif
93                  return default(Texture);                  return default(Texture);
94              }              }
95          }          }

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

  ViewVC Help
Powered by ViewVC 1.1.22