aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/operations.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-04 09:44:06 +0000
committerFilippos Karapetis2009-09-04 09:44:06 +0000
commit9381362277c6626f53d6ae8a706d7af76bb930e1 (patch)
treeb41f2468f81ad1abc3bd98cc49ed92eec0e610f0 /engines/sci/gfx/operations.cpp
parent4b4b36cfb100c14f567f79d1af702c0a765862e2 (diff)
downloadscummvm-rg350-9381362277c6626f53d6ae8a706d7af76bb930e1.tar.gz
scummvm-rg350-9381362277c6626f53d6ae8a706d7af76bb930e1.tar.bz2
scummvm-rg350-9381362277c6626f53d6ae8a706d7af76bb930e1.zip
Removed the bilinear and trilinear FreeSCI scalers, and only left the unfiltered scaler in (to be replaced by ScummVM's scaler code). We really don't need bilinear and trilinear filtered scaling in the engine, as ScummVM's filters already perform bilinear and trilinear filtered scaling, if requested
svn-id: r43938
Diffstat (limited to 'engines/sci/gfx/operations.cpp')
-rw-r--r--engines/sci/gfx/operations.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp
index 0fad18d261..2da129ca69 100644
--- a/engines/sci/gfx/operations.cpp
+++ b/engines/sci/gfx/operations.cpp
@@ -195,7 +195,7 @@ static void _gfxop_install_pixmap(GfxDriver *driver, gfx_pixmap_t *pxm) {
assert(pxm->palette->getParent() == driver->getMode()->palette);
if (pxm->palette_revision != pxm->palette->getRevision())
- gfx_xlate_pixmap(pxm, driver->getMode(), GFX_XLATE_FILTER_NONE);
+ gfx_xlate_pixmap(pxm, driver->getMode());
if (!driver->getMode()->palette->isDirty())
return;
@@ -995,7 +995,7 @@ void gfxop_update(GfxState *state) {
if (state->fullscreen_override) {
// We've been asked to re-draw the active full-screen image, essentially.
rect_t rect = gfx_rect(0, 0, 320, 200);
- gfx_xlate_pixmap(state->fullscreen_override, state->driver->getMode(), GFX_XLATE_FILTER_NONE);
+ gfx_xlate_pixmap(state->fullscreen_override, state->driver->getMode());
gfxop_draw_pixmap(state, state->fullscreen_override, rect, Common::Point(0, 0));
_gfxop_update_box(state, rect);
}
@@ -1875,11 +1875,7 @@ void gfxop_draw_text(GfxState *state, TextHandle *handle, rect_t zone) {
gfx_pixmap_t *pxm = handle->text_pixmaps[i];
if (!pxm->data) {
-#ifdef CUSTOM_GRAPHICS_OPTIONS
- gfx_xlate_pixmap(pxm, state->driver->getMode(), state->options->text_xlate_filter);
-#else
- gfx_xlate_pixmap(pxm, state->driver->getMode(), GFX_XLATE_FILTER_NONE);
-#endif
+ gfx_xlate_pixmap(pxm, state->driver->getMode());
}
if (!pxm)
error("Could not find text pixmap %d/%d", i, handle->lines.size());