Skip to content

Commit

Permalink
Revert "When the GL_EXT_unpack_subimage extension is not available, k…
Browse files Browse the repository at this point in the history
…eep the minimum"

This reverts commit da8849f.
  • Loading branch information
magomez committed Sep 19, 2017
1 parent da8849f commit 9dd7307
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -19,7 +19,6 @@

#include "config.h"
#include "AreaAllocator.h"
#include "Extensions3DCache.h"

#if USE(COORDINATED_GRAPHICS)

Expand Down Expand Up @@ -78,9 +77,7 @@ GeneralAreaAllocator::GeneralAreaAllocator(const IntSize& size)
m_root->rect = IntRect(0, 0, m_size.width(), m_size.height());
m_root->largestFree = m_size;
m_nodeCount = 1;
if (Extensions3DCache::singleton().GL_EXT_unpack_subimage()) {
setMinimumAllocation(IntSize(8, 8));
}
setMinimumAllocation(IntSize(8, 8));
}

GeneralAreaAllocator::~GeneralAreaAllocator()
Expand Down

0 comments on commit 9dd7307

Please sign in to comment.