diff options
author | bunnei <bunneidev@gmail.com> | 2016-02-04 06:03:20 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-02-05 23:20:23 +0100 |
commit | aaa7beeda8be312294a32e620a172c33cb231866 (patch) | |
tree | 320f9eabc0af6556a74a2237f3462ef5c9490561 /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | gl_rasterizer: Fix issue with interpolation of opposite quaternions. (diff) | |
download | yuzu-aaa7beeda8be312294a32e620a172c33cb231866.tar yuzu-aaa7beeda8be312294a32e620a172c33cb231866.tar.gz yuzu-aaa7beeda8be312294a32e620a172c33cb231866.tar.bz2 yuzu-aaa7beeda8be312294a32e620a172c33cb231866.tar.lz yuzu-aaa7beeda8be312294a32e620a172c33cb231866.tar.xz yuzu-aaa7beeda8be312294a32e620a172c33cb231866.tar.zst yuzu-aaa7beeda8be312294a32e620a172c33cb231866.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index a6a38f0af..ca3a6a6b4 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -81,8 +81,8 @@ struct ScreenRectVertex { * The projection part of the matrix is trivial, hence these operations are represented * by a 3x2 matrix. */ -static std::array<GLfloat, 3*2> MakeOrthographicMatrix(const float width, const float height) { - std::array<GLfloat, 3*2> matrix; +static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, const float height) { + std::array<GLfloat, 3 * 2> matrix; matrix[0] = 2.f / width; matrix[2] = 0.f; matrix[4] = -1.f; matrix[1] = 0.f; matrix[3] = -2.f / height; matrix[5] = 1.f; |