mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ff28651650
commit
19d7e8ee43
@ -0,0 +1,29 @@
|
||||
From f3ffe4e25bfca41379e4e2ffba75ad55d13ba30e Mon Sep 17 00:00:00 2001
|
||||
From: xbmc <fernetmenta@online.de>
|
||||
Date: Thu, 21 Mar 2013 07:53:20 +0100
|
||||
Subject: [PATCH] only free unused textures after a flip
|
||||
|
||||
---
|
||||
xbmc/Application.cpp | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
|
||||
index fa0e71d..5bd2d72 100644
|
||||
--- a/xbmc/Application.cpp
|
||||
+++ b/xbmc/Application.cpp
|
||||
@@ -2363,11 +2363,10 @@ void CApplication::Render()
|
||||
{
|
||||
g_graphicsContext.Flip(dirtyRegions);
|
||||
g_renderManager.NotifyDisplayFlip();
|
||||
+ g_TextureManager.FreeUnusedTextures();
|
||||
}
|
||||
CTimeUtils::UpdateFrameTime(flip);
|
||||
|
||||
- g_TextureManager.FreeUnusedTextures();
|
||||
-
|
||||
g_renderManager.UpdateResolution();
|
||||
g_renderManager.ManageCaptures();
|
||||
}
|
||||
--
|
||||
1.8.1.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user