Silence a few -Wsign-compare warnings.

This commit is contained in:
Rohit Nirmal 2014-11-30 01:44:30 -06:00
parent 83c3d37cd0
commit f9b53c3e94
3 changed files with 6 additions and 6 deletions

View file

@ -61,7 +61,7 @@ void RendererOpenGL::SwapBuffers() {
for(int i : {0, 1}) {
const auto& framebuffer = GPU::g_regs.framebuffer_config[i];
if (textures[i].width != framebuffer.width || textures[i].height != framebuffer.height) {
if (textures[i].width != (GLsizei)framebuffer.width || textures[i].height != (GLsizei)framebuffer.height) {
// Reallocate texture if the framebuffer size has changed.
// This is expected to not happen very often and hence should not be a
// performance problem.