aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-05-21 09:54:19 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-06-11 10:40:08 +0900
commit142626c00a36b67a803d084decb126bcacc8fca4 (patch)
tree6a22d3c84929517414584c801a1a800ddff66836
parentEvas GL: Fix coverity CID 1304559, 1304560 (diff)
downloadefl-142626c00a36b67a803d084decb126bcacc8fca4.tar.gz
Evas GL: Make INF message more explicit
Direct rendering is actually quite hard to enable, so make the message very explicit for elm_glview users. Thanks zmike for reporting this msg.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c b/src/modules/evas/engines/gl_common/evas_gl_core.c
index 5c1ecf5cbd..3ea9c36b62 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -1341,8 +1341,9 @@ try_again:
const char *s2[] = { "", ":stencil1", ":stencil2", ":stencil4", ":stencil8", ":stencil16" };
const char *s3[] = { "", ":msaa_low", ":msaa_mid", ":msaa_high" };
INF("Can not enable direct rendering with depth %d, stencil %d "
- "and MSAA %d. When using Elementary GLView, try to set "
- "the accel_preference to \"opengl%s%s%s\".",
+ "and MSAA %d. When using Elementary GLView, try to call "
+ "elm_config_accel_preference_set(\"opengl%s%s%s\") before "
+ "creating any window.",
depth_size, stencil_bit, msaa_samples,
s1[cfg->depth_bits], s2[cfg->stencil_bits], s3[cfg->multisample_bits]);
}