[xf86-video-intel PATCH 2/2] glamor: Fix misspelled xf86GetOptValString and OPTION_ACCEL_METHOD introduced by commit e456291.

Johannes Obermayr johannesobermayr at gmx.de
Sat May 26 14:52:28 PDT 2012


---
 src/intel_glamor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/intel_glamor.c b/src/intel_glamor.c
index 5c0186e..53043dd 100644
--- a/src/intel_glamor.c
+++ b/src/intel_glamor.c
@@ -39,6 +39,7 @@
 #include "i915_drm.h"
 #include "intel_glamor.h"
 #include "uxa.h"
+#include "intel_options.h"
 
 void
 intel_glamor_exchange_buffers(struct intel_screen_private *intel,
@@ -177,7 +178,7 @@ intel_glamor_enabled(intel_screen_private *intel)
 {
 	const char *s;
 
-	s = xf86GetOptString(intel->Options, ACCEL_METHOD);
+	s = xf86GetOptValString(intel->Options, OPTION_ACCEL_METHOD);
 	if (s == NULL)
 		return FALSE;
 
-- 
1.7.7



More information about the xorg-devel mailing list