diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-05-23 21:38:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 21:38:30 +0200 |
| commit | f9916100521e314b84d2bf30712c9ac72ce2292d (patch) | |
| tree | cc6468025f30c00a72b9e1b4f879e72bc6617762 /Source/Core/VideoCommon/OnScreenUI.cpp | |
| parent | e0e09d1074ee5b067d92cc50c093992fe9dca7a5 (diff) | |
| parent | 1e9e0cd2d7cf1e28fcbc038e3d26a02ece549ec0 (diff) | |
Merge pull request #12778 from LillyJadeKatrin/retroachievements-default-badges-v2
RetroAchievements - Default Badges
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index 8f85db85b0..1231851c9a 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -358,7 +358,7 @@ void OnScreenUI::DrawChallengesAndLeaderboards() TextureConfig tex_config(width, height, 1, 1, 1, AbstractTextureFormat::RGBA8, 0, AbstractTextureType::Texture_2DArray); auto res = m_challenge_texture_map.insert_or_assign(name, g_gfx->CreateTexture(tex_config)); - res.first->second->Load(0, width, height, width, icon->rgba_data.data(), + res.first->second->Load(0, width, height, width, icon->data.data(), sizeof(u32) * width * height); } for (auto& [name, texture] : m_challenge_texture_map) |
