Example #1
0
 protected void LockTexture()
 {
     if (_glDeviceHandle != IntPtr.Zero && _glTextureHandle != IntPtr.Zero)
     {
         Wgl.DXLockObjectNV(_glDeviceHandle, 1, new[] { _glTextureHandle });
     }
 }