| Index: ui/gl/gl_egl_api_implementation.cc
|
| diff --git a/ui/gl/gl_egl_api_implementation.cc b/ui/gl/gl_egl_api_implementation.cc
|
| index 22e8f6b722950bdfa4c3ef548fad8500bec4ab05..2a81a17493633417182215cab0b034288813769c 100644
|
| --- a/ui/gl/gl_egl_api_implementation.cc
|
| +++ b/ui/gl/gl_egl_api_implementation.cc
|
| @@ -12,19 +12,6 @@
|
|
|
| namespace gl {
|
|
|
| -namespace {
|
| -
|
| -void GL_BINDING_CALL MarshalClearDepthToClearDepthf(GLclampd depth) {
|
| - glClearDepthf(static_cast<GLclampf>(depth));
|
| -}
|
| -
|
| -void GL_BINDING_CALL MarshalDepthRangeToDepthRangef(GLclampd z_near,
|
| - GLclampd z_far) {
|
| - glDepthRangef(static_cast<GLclampf>(z_near), static_cast<GLclampf>(z_far));
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| RealEGLApi* g_real_egl;
|
|
|
| void InitializeStaticGLBindingsEGL() {
|
| @@ -35,11 +22,6 @@
|
| g_real_egl->Initialize(&g_driver_egl);
|
| g_current_egl_context = g_real_egl;
|
| g_driver_egl.InitializeExtensionBindings();
|
| -
|
| - // These two functions take single precision float rather than double
|
| - // precision float parameters in GLES.
|
| - ::gl::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf;
|
| - ::gl::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef;
|
| }
|
|
|
| void InitializeDebugGLBindingsEGL() {
|
|
|