mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Add way to bind cached textures to a DrawContext
This commit is contained in:
1 parent
f745e94899
commit
abd58199ce
10 files changed
+33
-6
No files matched your search
@@ -443,3 +443,8 @@ void TextureCacheGLES::DeviceRestore(Draw::DrawContext *draw) {
|
||||
render_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
textureShaderCache_->DeviceRestore(draw);
|
||||
}
|
||||
|
||||
void *TextureCacheGLES::GetNativeTextureView(const TexCacheEntry *entry) {
|
||||
GLRTexture *tex = entry->textureName;
|
||||
return (void *)tex;
|
||||
}
|
||||
Reference in new issue
Block a user