summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/maxwell_to_gl.h
diff options
context:
space:
mode:
authorRodolfo Bogado <rodolfoosvaldobogado@gmail.com>2018-11-08 02:27:47 +0100
committerRodolfo Bogado <rodolfoosvaldobogado@gmail.com>2018-11-11 20:36:53 +0100
commit4e6c64bf8d3622c6296f70ab64018c8c85855b0b (patch)
treed5b7484ed81357808e471e2dbcf441b93b7082a3 /src/video_core/renderer_opengl/maxwell_to_gl.h
parentTry to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors. (diff)
downloadyuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar
yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.gz
yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.bz2
yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.lz
yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.xz
yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.zst
yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index 32dc158e4..3ce2cc6d2 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -159,8 +159,7 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode,
}
}
}
- LOG_ERROR(Render_OpenGL, "Unimplemented texture filter mode={}",
- static_cast<u32>(filter_mode));
+ LOG_ERROR(Render_OpenGL, "Unimplemented texture filter mode={}", static_cast<u32>(filter_mode));
return GL_LINEAR;
}
@@ -206,7 +205,7 @@ inline GLenum DepthCompareFunc(Tegra::Texture::DepthCompareFunc func) {
return GL_ALWAYS;
}
LOG_ERROR(Render_OpenGL, "Unimplemented texture depth compare function ={}",
- static_cast<u32>(func));
+ static_cast<u32>(func));
return GL_GREATER;
}