Fix init Present and DRI3 53/26453/1
authorRoman Marchenko <r.marchenko@samsung.com>
Fri, 22 Aug 2014 13:11:48 +0000 (16:11 +0300)
committerRoman Marchenko <r.marchenko@samsung.com>
Fri, 22 Aug 2014 13:12:00 +0000 (16:12 +0300)
Change-Id: I7e0592759d2a71a0db0425ab84cfd10e9271e818
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
src/sec.c

index 4dc2ffc..13f58db 100644 (file)
--- a/src/sec.c
+++ b/src/sec.c
@@ -130,8 +130,8 @@ static const OptionInfoRec SECOptions[] =
     { OPTION_CACHABLE, "cachable",   OPTV_BOOLEAN, {0}, FALSE },
     { OPTION_SCANOUT,  "scanout",    OPTV_BOOLEAN, {0}, FALSE },
     { OPTION_ACCEL2D,  "accel_2d",   OPTV_BOOLEAN, {0}, FALSE },
-    { OPTION_ACCEL2D,  "present",    OPTV_BOOLEAN, {0}, FALSE },
-    { OPTION_ACCEL2D,  "dri3",          OPTV_BOOLEAN, {0}, FALSE },
+    { OPTION_PRESENT,  "present",    OPTV_BOOLEAN, {0}, FALSE },
+    { OPTION_DRI3,        "dri3",       OPTV_BOOLEAN, {0}, FALSE },
     { OPTION_PARTIAL_UPDATE,  "partial_update",    OPTV_BOOLEAN, {0}, FALSE },
     { -1,              NULL,         OPTV_NONE,    {0}, FALSE }
 };