Changeset 210731 in webkit


Ignore:
Timestamp:
Jan 13, 2017 9:23:30 AM (7 years ago)
Author:
Konstantin Tokarev
Message:

Added preprocessor guard for iOS-specific piece of code in GraphicsContext3DOpenGL
https://bugs.webkit.org/show_bug.cgi?id=167005

Reviewed by Alex Christensen.

Variable "boundFrameBuffer" is used only in iOS-specific code

No new tests needed.

  • platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:

(WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r210730 r210731  
     12017-01-13  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        Added preprocessor guard for iOS-specific piece of code in GraphicsContext3DOpenGL
     4        https://bugs.webkit.org/show_bug.cgi?id=167005
     5
     6        Reviewed by Alex Christensen.
     7
     8        Variable "boundFrameBuffer" is used only in iOS-specific code
     9
     10        No new tests needed.
     11
     12        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
     13        (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary):
     14
    1152017-01-13  Eric Carlson  <eric.carlson@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp

    r208997 r210731  
    228228    TemporaryOpenGLSetting scopedStencil(GL_STENCIL_TEST, GL_FALSE);
    229229
     230#if PLATFORM(IOS)
    230231    GLint boundFrameBuffer;
    231232    ::glGetIntegerv(GL_FRAMEBUFFER_BINDING, &boundFrameBuffer);
     233#endif
    232234
    233235    ::glBindFramebufferEXT(GL_READ_FRAMEBUFFER_EXT, m_multisampleFBO);
Note: See TracChangeset for help on using the changeset viewer.