diff options
author | bunnei <bunneidev@gmail.com> | 2017-07-13 04:19:34 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-07-18 03:32:28 +0200 |
commit | df8b9863f93da24e25d25f32e548605743ed8f66 (patch) | |
tree | b537192701ae290292d231cecb773af7897a4d8b /src/video_core/renderer_opengl/pica_to_gl.h | |
parent | Merge pull request #2804 from Kloen/theming (diff) | |
download | yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.gz yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.bz2 yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.lz yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.xz yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.zst yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/pica_to_gl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/pica_to_gl.h b/src/video_core/renderer_opengl/pica_to_gl.h index 70298e211..c7fa1f873 100644 --- a/src/video_core/renderer_opengl/pica_to_gl.h +++ b/src/video_core/renderer_opengl/pica_to_gl.h @@ -12,6 +12,7 @@ #include "common/common_funcs.h" #include "common/common_types.h" #include "common/logging/log.h" +#include "core/core.h" #include "video_core/regs_framebuffer.h" #include "video_core/regs_lighting.h" #include "video_core/regs_texturing.h" @@ -72,9 +73,9 @@ inline GLenum WrapMode(Pica::TexturingRegs::TextureConfig::WrapMode mode) { } if (static_cast<u32>(mode) > 3) { - // It is still unclear whether mode 4-7 are valid, so log it if a game uses them. - // TODO(wwylele): telemetry should be added here so we can collect more info about which - // game uses this. + Core::Telemetry().AddField(Telemetry::FieldType::Session, + "VideoCore_Pica_UnsupportedTextureWrapMode", + static_cast<u32>(mode)); LOG_WARNING(Render_OpenGL, "Using texture wrap mode %u", static_cast<u32>(mode)); } |