blob: 1a0ca5f4e1455498bcf4782d2420af5c99aab37d (
plain)
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
|
$NetBSD: patch-ai,v 1.1 2006/05/11 18:55:31 joerg Exp $
--- render/parameters.h.orig 2006-04-28 16:14:58.000000000 +0000
+++ render/parameters.h
@@ -463,7 +463,7 @@ class CqParameterTypedVaryingArray : pub
m_aValues.resize( size );
TqInt j;
for ( j = 0; j < size; j++ )
- m_aValues[ j ].resize( m_Count );
+ m_aValues[ j ].resize( this->m_Count );
}
virtual TqUint Size() const
{
@@ -541,9 +541,9 @@ class CqParameterTypedVaryingArray : pub
TqUint j;
for ( j = 0; j < m_aValues.size(); j++ )
{
- m_aValues[ j ].resize( m_Count );
+ m_aValues[ j ].resize( this->m_Count );
TqInt i;
- for ( i = 0; i < m_Count; i++ )
+ for ( i = 0; i < this->m_Count; i++ )
m_aValues[ j ][ i ] = From.m_aValues[ j ][ i ];
}
return ( *this );
@@ -650,7 +650,7 @@ class CqParameterTypedUniformArray : pub
{
m_aValues.resize( From.m_aValues.size() );
TqInt i2 = 0;
- for ( std::vector<T>::iterator i = From.m_aValues.being(); i != From.m_aValues.end(); i++, i2++ )
+ for ( typename std::vector<T>::iterator i = From.m_aValues.being(); i != From.m_aValues.end(); i++, i2++ )
m_aValues[ i2 ] = ( *i );
return ( *this );
}
|