Basic hacky write watching for texture invalidation. Doesn't scale.

This commit is contained in:
Ben Vanik
2015-01-04 16:28:42 -08:00
parent 55c4488ab2
commit 0529fdb84d
7 changed files with 207 additions and 41 deletions

View File

@@ -183,7 +183,7 @@ bool CommandProcessor::SetupGL() {
}
// Texture cache that keeps track of any textures/samplers used.
if (!texture_cache_.Initialize(membase_, &scratch_buffer_)) {
if (!texture_cache_.Initialize(memory_, &scratch_buffer_)) {
PLOGE("Unable to initialize texture cache");
return false;
}