Index: remoting/client/ios/app/host_view_controller.h |
diff --git a/remoting/client/ios/app/host_view_controller.h b/remoting/client/ios/app/host_view_controller.h |
index ef2bb153f01e995792fbcaf01cc2db7027f539da..93a1415e14d9d0770e13ff2d1585b463f9a15a86 100644 |
--- a/remoting/client/ios/app/host_view_controller.h |
+++ b/remoting/client/ios/app/host_view_controller.h |
@@ -5,11 +5,14 @@ |
#ifndef REMOTING_CLIENT_IOS_APP_HOST_VIEW_CONTROLLER_H_ |
#define REMOTING_CLIENT_IOS_APP_HOST_VIEW_CONTROLLER_H_ |
-#import <GLKit/GLKit.h> |
+#import <UIKit/UIKit.h> |
@class RemotingClient; |
-@interface HostViewController : GLKViewController |
+// We don't inherit it from GLKViewController since it uses its rendering loop, |
+// which will swap buffers when the GLRenderer is writing and causes screen |
+// tearing issues. Instead we use GlDisplayHandler to handle the rendering loop. |
+@interface HostViewController : UIViewController |
- (id)initWithClient:(RemotingClient*)client; |