Index: mojo/examples/sample_app/sample_gles2_delegate.cc |
diff --git a/mojo/examples/sample_app/sample_gles2_delegate.cc b/mojo/examples/sample_app/sample_gles2_delegate.cc |
index 8245ce6ebf44ab3429f76338b49b197c09e8fc79..4bac0225141f0905481863f42edee9cab8d395a2 100644 |
--- a/mojo/examples/sample_app/sample_gles2_delegate.cc |
+++ b/mojo/examples/sample_app/sample_gles2_delegate.cc |
@@ -19,7 +19,7 @@ SampleGLES2Delegate::~SampleGLES2Delegate() { |
} |
void SampleGLES2Delegate::DidCreateContext( |
- GLES2* gl, uint32_t width, uint32_t height) { |
+ GLES2ClientImpl* gl, uint32_t width, uint32_t height) { |
gl_ = gl; |
cube_.Init(width, height); |
last_time_ = base::Time::Now(); |
@@ -36,9 +36,9 @@ void SampleGLES2Delegate::Draw() { |
gl_->SwapBuffers(); |
} |
-void SampleGLES2Delegate::ContextLost(GLES2* gl) { |
- timer_.Stop(); |
+void SampleGLES2Delegate::ContextLost(GLES2ClientImpl* gl) { |
gl_ = NULL; |
+ timer_.Stop(); |
} |
} // namespace examples |