OSVR / OSVR-Unity

Package for authoring OSVR experiences with Unity.
Apache License 2.0
99 stars 38 forks source link

Remove duplicate surface.Render() #100

Closed ImperialPenguin closed 8 years ago

ImperialPenguin commented 8 years ago

The same if statement was repeated twice. In the case of usRenderManager being false, this led to surface.Render() being called twice and degrading performance.

ImperialPenguin commented 8 years ago

Hmm. It's been a while since I've used Github. That first commit was me merging changes from the master to my fork. Was that supposed to be included in the pull request? It doesn't have any effect on the changed files, so I don't guess it hurts anything. But I want to make sure I'm doing things the proper way.

DuFF14 commented 8 years ago

Looks good, thanks!