Index: webrtc/sdk/objc/Framework/Classes/RTCShader.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCShader.mm b/webrtc/sdk/objc/Framework/Classes/RTCShader.mm |
index 26dc64f92bb32d9cd321ff1e336969a62cee9912..155a0165a13a2ca8b3ef0eaf7dff3f4abb49de46 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCShader.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCShader.mm |
@@ -138,7 +138,7 @@ BOOL RTCSetupVerticesForProgram(GLuint program, GLuint* vertexBuffer, GLuint* ve |
} |
// Set vertex data to the currently bound vertex buffer. |
-void RTCSetVertexData(webrtc::VideoRotation rotation) { |
+void RTCSetVertexData(RTCVideoRotation rotation) { |
// When modelview and projection matrices are identity (default) the world is |
// contained in the square around origin with unit size 2. Drawing to these |
// coordinates is equivalent to drawing to the entire screen. The texture is |
@@ -156,16 +156,16 @@ void RTCSetVertexData(webrtc::VideoRotation rotation) { |
// Rotate the UV coordinates. |
int rotation_offset; |
switch (rotation) { |
- case webrtc::kVideoRotation_0: |
+ case RTCVideoRotation_0: |
rotation_offset = 0; |
break; |
- case webrtc::kVideoRotation_90: |
+ case RTCVideoRotation_90: |
rotation_offset = 1; |
break; |
- case webrtc::kVideoRotation_180: |
+ case RTCVideoRotation_180: |
rotation_offset = 2; |
break; |
- case webrtc::kVideoRotation_270: |
+ case RTCVideoRotation_270: |
rotation_offset = 3; |
break; |
} |