ImDebugger: Add a basic texture browser

This commit is contained in:
Henrik Rydgård committed 2024-11-29 19:30:38 +01:00
1 parent 27f08d705b
commit e4adc112ff
21 files changed
+152 -18

No files matched your search

+1 -1
View File
@@ -433,7 +433,7 @@ void TextureCacheGLES::DeviceRestore(Draw::DrawContext *draw) {
textureShaderCache_->DeviceRestore(draw);
}
void *TextureCacheGLES::GetNativeTextureView(const TexCacheEntry *entry) {
void *TextureCacheGLES::GetNativeTextureView(const TexCacheEntry *entry, bool flat) const {
GLRTexture *tex = entry->textureName;
return (void *)tex;
}