Ejemplo n.º 1
0
 public static void DeleteBuffers(int amount, ref int[] bufIds)
 {
     unsafe
     {
         fixed(int *ptr = bufIds)
         {
             Delegates.DeleteBuffersARB(amount, ptr);
         }
     }
 }
Ejemplo n.º 2
0
 public static void DeleteBuffer(ref int bufId)
 {
     unsafe
     {
         fixed(int *ptr = &bufId)
         {
             Delegates.DeleteBuffersARB(1, ptr);
         }
     }
 }