Example #1
0
 public BufferLock(BaseBuffer buffer, BufferTarget?target = null)
 {
     sharedLock = Context.Lock();
     GL.BindBuffer(target.GetValueOrDefault(buffer.Target), buffer.Id);
 }