Skip to content

Commit

Permalink
update Eigen dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Aug 25, 2017
1 parent d8903a4 commit 11c1bea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/eigen
Submodule eigen updated 1144 files
4 changes: 2 additions & 2 deletions src/screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ void Screen::drawWidgets() {
glfwGetWindowSize(mGLFWWindow, &mSize[0], &mSize[1]);

#if defined(_WIN32) || defined(__linux__)
mSize = (mSize / mPixelRatio).cast<int>();
mFBSize = (mSize * mPixelRatio).cast<int>();
mSize = (mSize.cast<float>() / mPixelRatio).cast<int>();
mFBSize = (mSize.cast<float>() * mPixelRatio).cast<int>();
#else
/* Recompute pixel ratio on OSX */
if (mSize[0])
Expand Down

0 comments on commit 11c1bea

Please sign in to comment.