| Index: trunk/Source/core/html/canvas/WebGLDrawBuffers.cpp
|
| ===================================================================
|
| --- trunk/Source/core/html/canvas/WebGLDrawBuffers.cpp (revision 168480)
|
| +++ trunk/Source/core/html/canvas/WebGLDrawBuffers.cpp (working copy)
|
| @@ -79,7 +79,7 @@
|
| }
|
| // Because the backbuffer is simulated on all current WebKit ports, we need to change BACK to COLOR_ATTACHMENT0.
|
| GLenum value = (bufs[0] == GL_BACK) ? GL_COLOR_ATTACHMENT0 : GL_NONE;
|
| - m_context->webContext()->drawBuffersEXT(1, &value);
|
| + m_context->webGraphicsContext3D()->drawBuffersEXT(1, &value);
|
| m_context->setBackDrawBuffer(bufs[0]);
|
| } else {
|
| if (n > m_context->maxDrawBuffers()) {
|
| @@ -99,7 +99,7 @@
|
| // static
|
| bool WebGLDrawBuffers::satisfiesWebGLRequirements(WebGLRenderingContextBase* webglContext)
|
| {
|
| - blink::WebGraphicsContext3D* context = webglContext->webContext();
|
| + blink::WebGraphicsContext3D* context = webglContext->webGraphicsContext3D();
|
| Extensions3DUtil* extensionsUtil = webglContext->extensionsUtil();
|
|
|
| // This is called after we make sure GL_EXT_draw_buffers is supported.
|
|
|