Bug 1136508 - funcName for CopyTexImage2D should be copyTexImage2D. draft
authorJeff Gilbert <jgilbert@mozilla.com>
Wed, 13 Jul 2016 01:03:35 -0700
changeset 387005 ec80db7df66b09e951a79ff31c327149042ef472
parent 387004 2298735fe2e6d48df6b2cbbb3d348d215270412f
child 525277 69c542697c1f461198af1c18f0ae73a43947042d
push id22882
push userbmo:jgilbert@mozilla.com
push dateWed, 13 Jul 2016 08:08:18 +0000
bugs1136508
milestone50.0a1
Bug 1136508 - funcName for CopyTexImage2D should be copyTexImage2D. MozReview-Commit-ID: DWcIxIb3Ikp
dom/canvas/WebGLTextureUpload.cpp
--- a/dom/canvas/WebGLTextureUpload.cpp
+++ b/dom/canvas/WebGLTextureUpload.cpp
@@ -1721,17 +1721,17 @@ WebGLTexture::ValidateCopyTexImageForFee
 }
 
 // There is no CopyTexImage3D.
 void
 WebGLTexture::CopyTexImage2D(TexImageTarget target, GLint level, GLenum internalFormat,
                              GLint x, GLint y, GLsizei width, GLsizei height,
                              GLint border)
 {
-    const char funcName[] = "CopyTexImage2D";
+    const char funcName[] = "copyTexImage2D";
 
     const uint8_t depth = 1;
 
     ////////////////////////////////////
     // Get dest info
 
     WebGLTexture::ImageInfo* imageInfo;
     if (!ValidateTexImageSpecification(funcName, target, level, width, height, depth,