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
47
48
49
|
$NetBSD: patch-ap,v 1.1 2008/09/01 08:02:23 dholland Exp $
--- render/texturemap.cpp.orig 2002-05-21 08:20:02.000000000 -0400
+++ render/texturemap.cpp 2008-09-01 03:39:36.000000000 -0400
@@ -1840,7 +1840,7 @@ void CqShadowMap::SaveShadowMap( const C
#else
sprintf( version, "%s %s", STRNAME, VERSION );
#endif
- TIFFSetField( pshadow, TIFFTAG_SOFTWARE, ( uint32 ) version );
+ TIFFSetField( pshadow, TIFFTAG_SOFTWARE, version );
TIFFSetField( pshadow, TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA, matWorldToCamera );
TIFFSetField( pshadow, TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN, matWorldToScreen );
TIFFSetField( pshadow, TIFFTAG_PIXAR_TEXTUREFORMAT, SHADOWMAP_HEADER );
@@ -1900,7 +1900,7 @@ void CqTextureMap::WriteTileImage( TIFF*
#else
sprintf( version, "%s %s", STRNAME, VERSION );
#endif
- TIFFSetField( ptex, TIFFTAG_SOFTWARE, ( uint32 ) version );
+ TIFFSetField( ptex, TIFFTAG_SOFTWARE, version );
TIFFSetField( ptex, TIFFTAG_IMAGEWIDTH, width );
TIFFSetField( ptex, TIFFTAG_IMAGELENGTH, length );
TIFFSetField( ptex, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG );
@@ -1963,7 +1963,7 @@ void CqTextureMap::WriteImage( TIFF* pte
#else
sprintf( version, "%s %s", STRNAME, VERSION );
#endif
- TIFFSetField( ptex, TIFFTAG_SOFTWARE, ( uint32 ) version );
+ TIFFSetField( ptex, TIFFTAG_SOFTWARE, version );
TIFFSetField( ptex, TIFFTAG_IMAGEWIDTH, width );
TIFFSetField( ptex, TIFFTAG_IMAGELENGTH, length );
TIFFSetField( ptex, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG );
@@ -1996,7 +1996,7 @@ void CqTextureMap::WriteTileImage( TIFF*
#else
sprintf( version, "%s %s", STRNAME, VERSION );
#endif
- TIFFSetField( ptex, TIFFTAG_SOFTWARE, ( uint32 ) version );
+ TIFFSetField( ptex, TIFFTAG_SOFTWARE, version );
TIFFSetField( ptex, TIFFTAG_IMAGEWIDTH, width );
TIFFSetField( ptex, TIFFTAG_IMAGELENGTH, length );
TIFFSetField( ptex, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG );
@@ -2059,7 +2059,7 @@ void CqTextureMap::WriteImage( TIFF* pte
#else
sprintf( version, "%s %s", STRNAME, VERSION );
#endif
- TIFFSetField( ptex, TIFFTAG_SOFTWARE, ( uint32 ) version );
+ TIFFSetField( ptex, TIFFTAG_SOFTWARE, version );
TIFFSetField( ptex, TIFFTAG_IMAGEWIDTH, width );
TIFFSetField( ptex, TIFFTAG_IMAGELENGTH, length );
TIFFSetField( ptex, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG );
|