summaryrefslogtreecommitdiffhomepage
path: root/Stars45/TexDX9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/TexDX9.cpp')
-rw-r--r--Stars45/TexDX9.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/TexDX9.cpp b/Stars45/TexDX9.cpp
index 5c03c07..dbbf14e 100644
--- a/Stars45/TexDX9.cpp
+++ b/Stars45/TexDX9.cpp
@@ -71,7 +71,7 @@ TexCacheDX9Entry::Unload()
bitmap_id = 0;
used_last = 0;
last_modified = 0;
-}
+}
// +--------------------------------------------------------------------+
@@ -383,7 +383,7 @@ TexCacheDX9::FreeLRU(int tries)
for (int i = 0; i < DX9_TEXTURE_CACHE_SIZE; i++) {
DWORD ul = cache[i].used_last;
-
+
if (ul && ul < old && ul != frame_number) {
old = ul;
oldest = i;