summaryrefslogtreecommitdiff
path: root/src/nv_const.h
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-01-11 23:23:43 +0100
committerMaarten Maathuis <madman2003@gmail.com>2008-01-11 23:23:58 +0100
commitfc04d71de6ec36158040617fb973218a8bdd0903 (patch)
treea6af32b1076e028b950aa1422b08eb657b24b5e6 /src/nv_const.h
parent361bbe074a0d674012615b05fd3da81e8e1ce34e (diff)
randr12: Add new experimental restore mode.
- Option "NewRestore" - Only tested on my 16bpp 1280x1024 vesafb console. - It may work on text consoles. - This should eventually replace the somewhat frail restore system that we currently have.
Diffstat (limited to 'src/nv_const.h')
-rw-r--r--src/nv_const.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nv_const.h b/src/nv_const.h
index 154d756..2ab9a1a 100644
--- a/src/nv_const.h
+++ b/src/nv_const.h
@@ -29,7 +29,8 @@ typedef enum {
OPTION_CMDBUF_LOCATION,
OPTION_CMDBUF_SIZE,
OPTION_RANDR12,
- OPTION_SCALING_MODE
+ OPTION_SCALING_MODE,
+ OPTION_NEW_RESTORE
} NVOpts;
@@ -49,6 +50,7 @@ static const OptionInfoRec NVOptions[] = {
{ OPTION_CMDBUF_SIZE, "CBSize", OPTV_INTEGER, {0}, FALSE },
{ OPTION_RANDR12, "Randr12", OPTV_BOOLEAN, {0}, FALSE },
{ OPTION_SCALING_MODE, "ScalingMode", OPTV_STRING, {0}, FALSE },
+ { OPTION_NEW_RESTORE, "NewRestore", OPTV_BOOLEAN, {0}, FALSE },
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};