VulkanDebug log fix, reduce log spam
This commit is contained in:
parent
49ecc01556
commit
e9e95d23ce
2 changed files with 3 additions and 11 deletions
|
@ -1443,7 +1443,7 @@ Draw::Texture *FramebufferManagerCommon::MakePixelTexture(const u8 *srcPixels, G
|
|||
gpuStats.numDrawPixels++;
|
||||
gpuStats.numTexturesDecoded++; // Separate stat for this later?
|
||||
|
||||
INFO_LOG(G3D, "Creating drawPixelsCache texture: %dx%d", tex->Width(), tex->Height());
|
||||
// INFO_LOG(G3D, "Creating drawPixelsCache texture: %dx%d", tex->Width(), tex->Height());
|
||||
|
||||
DrawPixelsEntry entry{ tex, frameNumber };
|
||||
drawPixelsCache_.push_back(entry);
|
||||
|
@ -1700,7 +1700,7 @@ void FramebufferManagerCommon::DecimateFBOs() {
|
|||
for (auto it = drawPixelsCache_.begin(); it != drawPixelsCache_.end(); ) {
|
||||
int age = draw_->GetFrameCount() - it->frameNumber;
|
||||
if (age > 10) {
|
||||
INFO_LOG(G3D, "Releasing drawPixelsCache texture: %dx%d", it->tex->Width(), it->tex->Height());
|
||||
// INFO_LOG(G3D, "Releasing drawPixelsCache texture: %dx%d", it->tex->Width(), it->tex->Height());
|
||||
it->tex->Release();
|
||||
it->tex = nullptr;
|
||||
it = drawPixelsCache_.erase(it);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue