⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 173539 in webkit


Ignore:
Timestamp:
Sep 11, 2014, 2:18:54 PM (12 years ago)
Author:
roger_fong@apple.com
Message:

Unreviewed build fix iOS.

  • platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:

(WebCore::GraphicsContext3D::checkVaryingsPacking):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r173533 r173539  
     12014-09-11  Roger Fong  <roger_fong@apple.com>
     2
     3        Unreviewed build fix iOS.
     4
     5        * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
     6        (WebCore::GraphicsContext3D::checkVaryingsPacking):
     7
    182014-09-11  Jer Noble  <jer.noble@apple.com>
    29
  • trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp

    r173527 r173539  
    375375        index++;
    376376    }
    377    
     377
     378    GC3Dint maxVaryingVectors = 0;
     379#if !PLATFORM(IOS)
    378380    GC3Dint maxVaryingFloats = 0;
    379381    ::glGetIntegerv(GL_MAX_VARYING_FLOATS, &maxVaryingFloats);
    380     int result = ShCheckVariablesWithinPackingLimits(maxVaryingFloats / 4, variables, numVaryings);
    381 
     382    maxVaryingVectors = maxVaryingFloats / 4;
     383#else
     384    ::glGetIntegerv(MAX_VARYING_VECTORS, &maxVaryingVectors);
     385#endif
     386    int result = ShCheckVariablesWithinPackingLimits(maxVaryingVectors, variables, numVaryings);
    382387    delete[] variables;
    383388    return result;
Note: See TracChangeset for help on using the changeset viewer.