changeset 4682:539a995924ba

use mem2agpcpy() instead of fast_memcpy()
author michael
date Tue, 12 Feb 2002 23:19:37 +0000
parents 8db59073127e
children fba4289cdb41
files libvo/vo_dga.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dga.c	Tue Feb 12 23:17:14 2002 +0000
+++ b/libvo/vo_dga.c	Tue Feb 12 23:19:37 2002 +0000
@@ -23,6 +23,9 @@
  * - works only on x86 architectures
  *
  * $Log$
+ * Revision 1.42  2002/02/12 23:19:37  michael
+ * use mem2agpcpy() instead of fast_memcpy()
+ *
  * Revision 1.41  2002/02/09 01:21:48  arpi
  * 10000hl to Holm... control MUST BE static...
  *
@@ -480,14 +483,14 @@
       // use some stride ...
       int i;
       for(i=0; i< vo_dga_lines; i++){
-        memcpy(d, s, vo_dga_bytes_per_line);
+        mem2agpcpy(d, s, vo_dga_bytes_per_line);
 	d+=vo_dga_vp_skip;
 	d+=vo_dga_bytes_per_line;
 	s+=vo_dga_bytes_per_line;
       }
     }else{
       // no stride, cool + fast ...
-      memcpy(d,s, vo_dga_bytes_per_line * vo_dga_lines);
+      mem2agpcpy(d,s, vo_dga_bytes_per_line * vo_dga_lines);
     }	  
 #else /* ARCH_X86 and NO_MMX */
     // use some homebrewn assembly code ...