diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2013-03-08 17:37:41 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2013-03-08 17:38:20 +0100 |
commit | 5ac335eaae135c0e66cc4643908f41174e2f1123 (patch) | |
tree | 69aebd754ca9ba7a30cf3f7c13b554cba1b96ccd | |
parent | f1059e3f0934ccf1ae183099dbd4de700a7c81ac (diff) |
Only parse Option "AccelMethod" if glamor was enabled at build time
Will hopefully make it more obvious when it wasn't.
-rw-r--r-- | src/radeon_kms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index 0dc577be..cacdf8eb 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -69,7 +69,9 @@ const OptionInfoRec RADEONOptions_KMS[] = { { OPTION_COLOR_TILING_2D,"ColorTiling2D", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_RENDER_ACCEL, "RenderAccel", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_SUBPIXEL_ORDER, "SubPixelOrder", OPTV_ANYSTR, {0}, FALSE }, +#ifdef USE_GLAMOR { OPTION_ACCELMETHOD, "AccelMethod", OPTV_STRING, {0}, FALSE }, +#endif { OPTION_EXA_VSYNC, "EXAVSync", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_EXA_PIXMAPS, "EXAPixmaps", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_ZAPHOD_HEADS, "ZaphodHeads", OPTV_STRING, {0}, FALSE }, |