summaryrefslogtreecommitdiff
path: root/source/r_images.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/r_images.c')
-rw-r--r--source/r_images.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/r_images.c b/source/r_images.c
index 3f5eb50..e082629 100644
--- a/source/r_images.c
+++ b/source/r_images.c
@@ -1685,7 +1685,7 @@ void IMG_FreeUnused( void ) {
for( image = r_images; image < last; image++ ) {
if( image->registration_sequence == registration_sequence ) {
#if USE_REF == REF_SOFT
- Com_PageInMemory( image->pixels[0], image->width * image->height * VID_BYTES );
+ Com_PageInMemory( image->pixels[0], image->width * image->height );
#endif
continue; // used this sequence
}