Index: gpu/blink/webgraphicscontext3d_impl.cc |
diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc |
index d35bb9debb37e6157cb6de2be7d2fc3b02e7ffb7..2a3e5c7defa4180c50dc69e0bfdb1841dad2543d 100644 |
--- a/gpu/blink/webgraphicscontext3d_impl.cc |
+++ b/gpu/blink/webgraphicscontext3d_impl.cc |
@@ -639,19 +639,8 @@ DELEGATE_TO_GL_9(texImage2D, TexImage2D, |
DELEGATE_TO_GL_3(texParameterf, TexParameterf, |
WGC3Denum, WGC3Denum, WGC3Dfloat); |
-static const unsigned int kTextureWrapR = 0x8072; |
- |
-void WebGraphicsContext3DImpl::texParameteri( |
- WGC3Denum target, WGC3Denum pname, WGC3Dint param) { |
- // TODO(kbr): figure out whether the setting of TEXTURE_WRAP_R in |
- // GraphicsContext3D.cpp is strictly necessary to avoid seams at the |
- // edge of cube maps, and, if it is, push it into the GLES2 service |
- // side code. |
- if (pname == kTextureWrapR) { |
- return; |
- } |
- gl_->TexParameteri(target, pname, param); |
-} |
+DELEGATE_TO_GL_3(texParameteri, TexParameteri, |
+ WGC3Denum, WGC3Denum, WGC3Dint); |
legend
2015/05/12 03:23:16
Since the TODOs can be removed, here use the previ
|
DELEGATE_TO_GL_9(texSubImage2D, TexSubImage2D, |
WGC3Denum, WGC3Dint, WGC3Dint, WGC3Dint, WGC3Dsizei, |