diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-12 13:11:13 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-12 13:11:13 +0100 |
commit | ade86e496ea4bc27b6edab125bad9f5dc4bb3852 (patch) | |
tree | 81aae5427d06ae06be2968df5d025780206bf682 /amiga/bitmap.c | |
parent | 6ea52d0d9f423a13acc7c7fe015038a15a9636ff (diff) | |
download | netsurf-ade86e496ea4bc27b6edab125bad9f5dc4bb3852.tar.gz netsurf-ade86e496ea4bc27b6edab125bad9f5dc4bb3852.tar.bz2 |
Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary.
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r-- | amiga/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c index 0704129ec..dfa2ba52c 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -49,7 +49,7 @@ void *bitmap_create(int width, int height, unsigned int state) { struct bitmap *bitmap; - bitmap = AllocVec(sizeof(struct bitmap),MEMF_PRIVATE | MEMF_CLEAR); + bitmap = AllocVecTags(sizeof(struct bitmap), AVT_ClearWithValue, 0, TAG_DONE); if(bitmap) { bitmap->pixdata = AllocVecTags(width*height*4, |