Skip to content

Commit

Permalink
Upgrade to Deflect 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Dumusc committed May 18, 2018
1 parent 7b627de commit 6b3a287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitsubprojects
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif()

# Streaming to display walls
if(BRAYNS_DEFLECT_ENABLED)
git_subproject(Deflect https://github.com/BlueBrain/Deflect.git 600fed6)
git_subproject(Deflect https://github.com/BlueBrain/Deflect.git 4bc4119)
endif()

# Data access
Expand Down
4 changes: 1 addition & 3 deletions plugins/DeflectPlugin/DeflectPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,7 @@ class DeflectPlugin::Impl
deflectImage.compressionPolicy = _params.getCompression()
? deflect::COMPRESSION_ON
: deflect::COMPRESSION_OFF;
deflect::ImageWrapper::swapYAxis((void*)_lastImage.data.data(),
_lastImage.size.x(),
_lastImage.size.y(), 4);
deflectImage.rowOrder = deflect::RowOrder::bottom_up;

return static_cast<deflect::Stream&>(*_stream).sendAndFinish(
deflectImage);
Expand Down

0 comments on commit 6b3a287

Please sign in to comment.