}
char scaler[NAME_MAX];
- if (hgw_conf_request_bool(hgw, kGConfScaler, scaler) == HGW_ERR_NONE
+ if (hgw_conf_request_string(hgw, kGConfScaler, scaler) == HGW_ERR_NONE
&& strlen(scaler) > 0) {
free(Config.scaler);
Config.scaler = strdup(scaler);
uint8 * m_surface;
const int m_w, m_h, m_Bpp;
+protected:
ARMScaler(SDL_Surface* screen, int w, int h)
: m_screen(screen), m_w(w), m_h(h),
m_Bpp(m_screen->format->BitsPerPixel / 8)
class HDARM : public ARMScaler
{
HDARM(SDL_Surface* screen, int w, int h)
- : SWScaler(screen, w, h)
+ : ARMScaler(screen, w, h)
{
hildon_set_non_compositing(true);
}
return "compositor disabled and software ARM 2x scaling";
}
};
-const HDSW::Factory HDSW::factory;
+const HDARM::Factory HDARM::factory;
#endif /* __arm__ */
#endif /* CONF_HD */