diff options
| author | 2014-12-03 10:04:47 -0500 | |
|---|---|---|
| committer | 2014-12-03 10:04:47 -0500 | |
| commit | 63b1453dd8f0f579929fe7341f559b916cebcc2b (patch) | |
| tree | ab32cb2f3db887f1916491750bb7d29bd2020593 /src/video_core/renderer_opengl | |
| parent | Merge pull request #231 from purpasmart96/serv_ac_wifi_status (diff) | |
| parent | Silence a few -Wsign-compare warnings. (diff) | |
| download | yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.gz yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.xz yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.zip | |
Merge pull request #236 from rohit-n/sign-compare
Silence a few -Wsign-compare warnings.
Diffstat (limited to 'src/video_core/renderer_opengl')
| -rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index fd44c3f68..06de6afbd 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp | |||
| @@ -61,7 +61,7 @@ void RendererOpenGL::SwapBuffers() { | |||
| 61 | for(int i : {0, 1}) { | 61 | for(int i : {0, 1}) { |
| 62 | const auto& framebuffer = GPU::g_regs.framebuffer_config[i]; | 62 | const auto& framebuffer = GPU::g_regs.framebuffer_config[i]; |
| 63 | 63 | ||
| 64 | if (textures[i].width != framebuffer.width || textures[i].height != framebuffer.height) { | 64 | if (textures[i].width != (GLsizei)framebuffer.width || textures[i].height != (GLsizei)framebuffer.height) { |
| 65 | // Reallocate texture if the framebuffer size has changed. | 65 | // Reallocate texture if the framebuffer size has changed. |
| 66 | // This is expected to not happen very often and hence should not be a | 66 | // This is expected to not happen very often and hence should not be a |
| 67 | // performance problem. | 67 | // performance problem. |