Skip to content

Commit

Permalink
fix bug in getBufferSize()
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Mar 28, 2024
1 parent 5d42801 commit b6a6bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void setWindowSize(int width, int height) {

std::tuple<int, int> getWindowSize() { return std::tuple<int, int>(view::windowWidth, view::windowHeight); }

std::tuple<int, int> getBufferSize() { return std::tuple<int, int>(view::bufferWidth, view::bufferWidth); }
std::tuple<int, int> getBufferSize() { return std::tuple<int, int>(view::bufferWidth, view::bufferHeight); }

void setViewToCamera(const CameraParameters& p) {
viewMat = p.getE();
Expand Down

0 comments on commit b6a6bd9

Please sign in to comment.