Skip to content

Commit 5263213

Browse files
committed
Added braces for if statement.
1 parent ce79af9 commit 5263213

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

OSVR-Unity/Assets/OSVRUnity/src/OsvrPostEffectsBase.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ protected bool CheckSupport (bool needDepth) {
112112
return false;
113113
}
114114

115-
if(needDepth)
115+
if (needDepth) {
116116
GetComponent<Camera>().depthTextureMode |= DepthTextureMode.Depth;
117-
117+
}
118+
118119
return true;
119120
}
120121

0 commit comments

Comments
 (0)