Fix depth-test bug of webgl.
authorYongGeol Jung <yg48.jung@samsung.com>
Tue, 16 Apr 2013 13:17:18 +0000 (22:17 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 17 Apr 2013 02:49:05 +0000 (11:49 +0900)
commitf31a88d12a89a891e11b56c6c22ed7387423dab3
tree2fffb775dd3e8b2452130d61919160fadd4364bb
parent26af06082ab7e7b6003c92592b1634534c83518a
Fix depth-test bug of webgl.

[Title] Fix depth-test bug of webgl.
[Issue#] TWEB-1127
[Problem] Fail happen when DEPTH_COMPONENT16 vs DEPTH_STENCIL and unbinding/deleting second renderbuffer.
[Cause] Depth-test flag bit was not cleared.
[Solution] Clear depth-test flag after setting depth buffer.

Change-Id: If0af688c5326ab7a8870364b30f5d3b0419c0b74
Source/WTF/wtf/Platform.h
Source/WebCore/html/canvas/WebGLRenderingContext.cpp