Skip to content

Commit

Permalink
Tests|glsandbox: Print MVP matrix
Browse files Browse the repository at this point in the history
The purple quad is now drawn successfully.
  • Loading branch information
skyjake committed Apr 27, 2013
1 parent 3903eac commit f95689a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/tests/glsandbox/testwindow.cpp
Expand Up @@ -119,6 +119,8 @@ DENG2_OBSERVES(Canvas, GLResize)
st.setViewport(Rectangleui::fromSize(cv.size()));

uMvpMatrix = Matrix4f::ortho(0, cv.width(), 0, cv.height());

LOG_DEBUG("uMvpMatrix: ") << uMvpMatrix.toMatrix4f().asText();
}

void draw(Canvas &cv)
Expand Down

0 comments on commit f95689a

Please sign in to comment.