+ applied mapnik-image-data-setrow-size.patch (jonb)
This commit is contained in:
parent
a3f1e664be
commit
7395363258
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ namespace mapnik
|
|||
inline void setRow(unsigned row,const T* buf,unsigned size)
|
||||
{
|
||||
assert(row<height_);
|
||||
assert(size<=(width_*sizeof(T)));
|
||||
assert(size<=width_);
|
||||
memcpy(pData_+row*width_,buf,size*sizeof(T));
|
||||
}
|
||||
inline void setRow(unsigned row,unsigned x0,unsigned x1,const T* buf)
|
||||
|
|
Loading…
Reference in a new issue