unity3d-jp / FrameCapturer

export framebuffer, GBuffer or any RenderTextures from Unity to file. supported format: png, exr, gif, webm, mp4
MIT License
1.04k stars 165 forks source link

Fixed an error in the unmapped resources. #2

Closed tasogare66 closed 8 years ago

tasogare66 commented 8 years ago

Unmapを行っているリソースが誤っているので修正。

CopyResourceを手動で待っている箇所がありますが、 Map,Unmapが一対になっていれば不要だと思ったのですが、 (Mapされた状態のままで、再度Mapが呼ばれるの処理されない) 自分の環境では、待たなければならない状況が再現できず、動作が確認できなかったため、未対応です。

i-saint commented 8 years ago

ありがとうございます!お恥ずかしいミスです。