diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-06 23:34:56 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-06 23:34:56 +0000 |
commit | bcc0c0fde934d838b595806bc8a03c9331e60b93 (patch) | |
tree | 08a51c444caa80536bcdc03b94a3216e91ec6992 /amiga/thumbnail.c | |
parent | d83f683e9681f8ca68701df93cd23d983e104284 (diff) | |
download | netsurf-bcc0c0fde934d838b595806bc8a03c9331e60b93.tar.gz netsurf-bcc0c0fde934d838b595806bc8a03c9331e60b93.tar.bz2 |
Make thumbnail.c compile for AmigaOS3
svn path=/trunk/netsurf/; revision=11231
Diffstat (limited to 'amiga/thumbnail.c')
-rwxr-xr-x | amiga/thumbnail.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/thumbnail.c b/amiga/thumbnail.c index c7321086a..5d10d3e0c 100755 --- a/amiga/thumbnail.c +++ b/amiga/thumbnail.c @@ -16,6 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "amiga/os3support.h" #include "desktop/browser.h" #include <proto/graphics.h> #include <proto/Picasso96API.h> @@ -24,6 +25,7 @@ #include <graphics/blitattr.h> #include <graphics/composite.h> #endif +#include <graphics/gfxbase.h> #include "amiga/gui.h" #include "amiga/bitmap.h" #include "amiga/options.h" @@ -49,7 +51,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, content_get_width(content), 1.0, 0xFFFFFF); current_redraw_browser = NULL; - if(GfxBase->lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1) + if(GfxBase->LibNode.lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1) { uint32 flags = COMPFLAG_IgnoreDestAlpha | COMPFLAG_SrcAlphaOverride; if(option_scale_quality) flags |= COMPFLAG_SrcFilter; |