diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:38:12 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:51:53 +0200 |
commit | 751fbfdcc33420cb39aee30158706984efb4da40 (patch) | |
tree | 570330019bba030c78af7d7715b89a5b3de7ccc6 /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | Merge pull request #1097 from yuriks/cfg-blocks (diff) | |
download | yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.gz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.bz2 yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.lz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.xz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.zst yuzu-751fbfdcc33420cb39aee30158706984efb4da40.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.cpp')
-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 22f261c68..f1313b54f 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -314,12 +314,12 @@ void RendererOpenGL::ConfigureFramebufferTexture(TextureInfo& texture, * Draws a single texture to the emulator window, rotating the texture to correct for the 3DS's LCD rotation. */ void RendererOpenGL::DrawSingleScreenRotated(const TextureInfo& texture, float x, float y, float w, float h) { - std::array<ScreenRectVertex, 4> vertices = { + std::array<ScreenRectVertex, 4> vertices = {{ ScreenRectVertex(x, y, 1.f, 0.f), ScreenRectVertex(x+w, y, 1.f, 1.f), ScreenRectVertex(x, y+h, 0.f, 0.f), ScreenRectVertex(x+w, y+h, 0.f, 1.f), - }; + }}; state.texture_units[0].texture_2d = texture.handle; state.Apply(); |