diff options
| author | 2015-09-16 08:38:12 -0400 | |
|---|---|---|
| committer | 2015-09-16 08:51:53 -0400 | |
| commit | 751fbfdcc33420cb39aee30158706984efb4da40 (patch) | |
| tree | 570330019bba030c78af7d7715b89a5b3de7ccc6 /src/video_core/renderer_opengl | |
| parent | Merge pull request #1097 from yuriks/cfg-blocks (diff) | |
| download | yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.gz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.xz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.zip | |
general: Silence some warnings when using clang
Diffstat (limited to 'src/video_core/renderer_opengl')
| -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, | |||
| 314 | * Draws a single texture to the emulator window, rotating the texture to correct for the 3DS's LCD rotation. | 314 | * Draws a single texture to the emulator window, rotating the texture to correct for the 3DS's LCD rotation. |
| 315 | */ | 315 | */ |
| 316 | void RendererOpenGL::DrawSingleScreenRotated(const TextureInfo& texture, float x, float y, float w, float h) { | 316 | void RendererOpenGL::DrawSingleScreenRotated(const TextureInfo& texture, float x, float y, float w, float h) { |
| 317 | std::array<ScreenRectVertex, 4> vertices = { | 317 | std::array<ScreenRectVertex, 4> vertices = {{ |
| 318 | ScreenRectVertex(x, y, 1.f, 0.f), | 318 | ScreenRectVertex(x, y, 1.f, 0.f), |
| 319 | ScreenRectVertex(x+w, y, 1.f, 1.f), | 319 | ScreenRectVertex(x+w, y, 1.f, 1.f), |
| 320 | ScreenRectVertex(x, y+h, 0.f, 0.f), | 320 | ScreenRectVertex(x, y+h, 0.f, 0.f), |
| 321 | ScreenRectVertex(x+w, y+h, 0.f, 1.f), | 321 | ScreenRectVertex(x+w, y+h, 0.f, 1.f), |
| 322 | }; | 322 | }}; |
| 323 | 323 | ||
| 324 | state.texture_units[0].texture_2d = texture.handle; | 324 | state.texture_units[0].texture_2d = texture.handle; |
| 325 | state.Apply(); | 325 | state.Apply(); |