1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- uta/blitters.cc.orig Sat Oct 12 23:11:07 2002
+++ uta/blitters.cc Thu Aug 12 20:58:40 2004
@@ -20,6 +20,7 @@
#include "blitters.h"
#include <painter.h>
+#include <cassert>
namespace uta {
@@ -28,6 +29,8 @@
#endif
#if !defined(X86_ASSEMBLER)
+using namespace std;
+
/** Apply const gamma value.
Blit just copies alpha value of the source to the destination surface.
*/
@@ -163,7 +166,7 @@
only using the lower 16bits of result
... this is somehow dumb, but only executed once
per scanline, so I do not care */
- movd_r2m(mm1,(unsigned int*)dPtr);
+ movd_r2m(mm1,*(mmx_t*)dPtr);
sPtr += 4;
dPtr += 4;
}
@@ -211,7 +214,7 @@
only using the lower 16bits of result
... this is somehow dumb, but only executed once
per scanline, so I do not care */
- movd_r2m(mm1,(unsigned int*)dPtr);
+ movd_r2m(mm1,*(mmx_t*)dPtr);
sPtr += 4;
dPtr += 4;
}
@@ -960,7 +963,7 @@
only using the lower 16bits of result
... this is somehow dumb, but only executed once
per scanline, so I do not care */
- movd_r2m(mm1,(unsigned int*)dPtr);
+ movd_r2m(mm1,*(mmx_t*)dPtr);
sPtr += 4;
dPtr += 4;
}
|