|
|
@ -300,9 +300,7 @@ int ncvisual_geom_inner(const tinfo* ti, const ncvisual* n,
|
|
|
|
geom->pixx = n->pixx;
|
|
|
|
geom->pixx = n->pixx;
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// when n is NULL, we only report properties unrelated to the ncvisual,
|
|
|
|
// determine our blitter
|
|
|
|
// i.e. the cell-pixel geometry, max bitmap geometry, blitter, and scaling.
|
|
|
|
|
|
|
|
if(n == NULL){
|
|
|
|
|
|
|
|
const struct blitset* bset = rgba_blitter(ti, vopts);
|
|
|
|
const struct blitset* bset = rgba_blitter(ti, vopts);
|
|
|
|
if(!bset){
|
|
|
|
if(!bset){
|
|
|
|
logerror("Couldn't get a blitter for %d\n", vopts ? vopts->blitter : NCBLIT_DEFAULT);
|
|
|
|
logerror("Couldn't get a blitter for %d\n", vopts ? vopts->blitter : NCBLIT_DEFAULT);
|
|
|
@ -319,6 +317,9 @@ int ncvisual_geom_inner(const tinfo* ti, const ncvisual* n,
|
|
|
|
geom->scaley = bset->height;
|
|
|
|
geom->scaley = bset->height;
|
|
|
|
geom->scalex = bset->width;
|
|
|
|
geom->scalex = bset->width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// when n is NULL, we only report properties unrelated to the ncvisual,
|
|
|
|
|
|
|
|
// i.e. the cell-pixel geometry, max bitmap geometry, blitter, and scaling.
|
|
|
|
|
|
|
|
if(n == NULL){
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// FIXME now work with full variant
|
|
|
|
// FIXME now work with full variant
|
|
|
|