Skip to content

Commit

Permalink
Mipmaps are not supported in benchmark mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed May 30, 2014
1 parent 6a64838 commit 24390cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ int main( int argc, char** argv )
auto tasks = new std::future<void>[NumTasks];
for( int i=0; i<NumTasks; i++ )
{
tasks[i] = std::async( [&bmp, &mipmap]()
tasks[i] = std::async( [&bmp]()
{
auto block = std::make_shared<BlockBitmap>( bmp, Channels::RGB );
auto bd = std::make_shared<BlockData>( bmp->Size(), mipmap );
auto bd = std::make_shared<BlockData>( bmp->Size(), false );
bd->Process( block->Data(), bmp->Size().x * bmp->Size().y / 16, 0, 0, Channels::RGB );
} );
}
Expand Down

0 comments on commit 24390cb

Please sign in to comment.