Missing break in WebGLRenderingContext::validateCompressedTexFuncData()
authorpsolanki@apple.com <psolanki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jul 2013 00:33:03 +0000 (00:33 +0000)
committerpsolanki@apple.com <psolanki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jul 2013 00:33:03 +0000 (00:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=118742

Reviewed by Ryosuke Niwa.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::validateCompressedTexFuncData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@152750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/canvas/WebGLRenderingContext.cpp

index e0a4cb2..029d70e 100644 (file)
@@ -1,3 +1,13 @@
+2013-07-16  Pratik Solanki  <psolanki@apple.com>
+
+        Missing break in WebGLRenderingContext::validateCompressedTexFuncData()
+        https://bugs.webkit.org/show_bug.cgi?id=118742
+
+        Reviewed by Ryosuke Niwa.
+
+        * html/canvas/WebGLRenderingContext.cpp:
+        (WebCore::WebGLRenderingContext::validateCompressedTexFuncData):
+
 2013-07-16  Andreas Kling  <akling@apple.com>
 
         Atomicize HTMLAnchorElement.hash before passing it to JS.
index 90beb68..4dfa3b7 100644 (file)
@@ -5266,6 +5266,7 @@ bool WebGLRenderingContext::validateCompressedTexFuncData(const char* functionNa
         {
             bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 16;
         }
+        break;
     case Extensions3D::COMPRESSED_RGB_PVRTC_4BPPV1_IMG:
     case Extensions3D::COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:
         {