added improved biadapt scaler for pure mode (--scale=biadv)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@623 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -41,6 +41,7 @@ enum
|
||||
#define TFB_GFXFLAGS_SCANLINES (1<<2)
|
||||
#define TFB_GFXFLAGS_SCALE_BILINEAR (1<<3)
|
||||
#define TFB_GFXFLAGS_SCALE_BIADAPT (1<<4)
|
||||
#define TFB_GFXFLAGS_SCALE_BIADAPTADV (1<<5)
|
||||
|
||||
#define TFB_GFX_NUMSCREENS 3
|
||||
|
||||
|
||||
+5
-1
@@ -154,6 +154,10 @@ main (int argc, char *argv[])
|
||||
{
|
||||
gfxflags |= TFB_GFXFLAGS_SCALE_BIADAPT;
|
||||
}
|
||||
else if (!strcmp (optarg, "biadv"))
|
||||
{
|
||||
gfxflags |= TFB_GFXFLAGS_SCALE_BIADAPTADV;
|
||||
}
|
||||
break;
|
||||
case 's':
|
||||
gfxflags |= TFB_GFXFLAGS_SCANLINES;
|
||||
@@ -247,7 +251,7 @@ main (int argc, char *argv[])
|
||||
printf(" -d, --bpp=BITSPERPIXEL (default 16)\n");
|
||||
printf(" -f, --fullscreen (default off)\n");
|
||||
printf(" -o, --opengl (default off)\n");
|
||||
printf(" -c, --scale=mode (bilinear or biadapt, default is none)\n");
|
||||
printf(" -c, --scale=mode (bilinear, biadapt or biadv, default is none)\n");
|
||||
printf(" -s, --scanlines (default off)\n");
|
||||
printf(" -p, --fps (default off)\n");
|
||||
printf(" -n, --contentdir=CONTENTDIR\n");
|
||||
|
||||
Reference in New Issue
Block a user