mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Unify UpdateCurrentClut between D3D11 and Vulkan (GLES is still different)
This commit is contained in:
1 parent
a875af17a0
commit
f034cb45bb
7 files changed
+40
-77
No files matched your search
@@ -147,6 +147,7 @@ void TextureCacheGLES::StartFrame() {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: This is almost the same as the Common one, just with some extra color conversion. Should merge.
|
||||
void TextureCacheGLES::UpdateCurrentClut(GEPaletteFormat clutFormat, u32 clutBase, bool clutIndexIsSimple) {
|
||||
const u32 clutBaseBytes = clutFormat == GE_CMODE_32BIT_ABGR8888 ? (clutBase * sizeof(u32)) : (clutBase * sizeof(u16));
|
||||
// Technically, these extra bytes weren't loaded, but hopefully it was loaded earlier.
|
||||
|
||||
Reference in new issue
Block a user