[core] Update gl-js for shader change

This commit is contained in:
John Firebaugh
2016-12-22 17:02:40 -08:00
parent 083cee8956
commit 65c28deefe
7 changed files with 13 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
#include <mbgl/tile/raster_tile.hpp>
#include <mbgl/renderer/raster_bucket.cpp>
#include <mbgl/actor/actor.hpp>
#include <mbgl/util/premultiply.hpp>
namespace mbgl {
@@ -16,7 +17,7 @@ void RasterTileWorker::parse(std::shared_ptr<const std::string> data) {
}
try {
auto bucket = std::make_unique<RasterBucket>(decodeImage(*data));
auto bucket = std::make_unique<RasterBucket>(util::unpremultiply(decodeImage(*data)));
parent.invoke(&RasterTile::onParsed, std::move(bucket));
} catch (...) {
parent.invoke(&RasterTile::onError, std::current_exception());