From ac4b6422f44519400c0ff8b8bf5039c7e78c6c3e Mon Sep 17 00:00:00 2001 From: Oleksandr Shcherbina Date: Mon, 22 Jun 2015 11:11:29 +0200 Subject: [PATCH] evas: fix Evas.Canvas3D color pick Summary: After this commit 684c51360f1591de4b8aee1f52d4edf8e8353822 it didn't work Miss bind color pick texture to drawable data @fix Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, Ievgen, se.osadchy Differential Revision: https://phab.enlightenment.org/D2724 Signed-off-by: Cedric BAIL --- src/modules/evas/engines/gl_common/evas_gl_3d.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/evas/engines/gl_common/evas_gl_3d.c b/src/modules/evas/engines/gl_common/evas_gl_3d.c index da8385302e..1c305a1a58 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_3d.c +++ b/src/modules/evas/engines/gl_common/evas_gl_3d.c @@ -395,6 +395,8 @@ e3d_drawable_new(int w, int h, int alpha, GLenum depth_format, GLenum stencil_fo drawable->stencil_format = stencil_format; drawable->tex = tex; drawable->fbo = fbo; + drawable->texcolorpick = texcolorpick; + drawable->color_pick_fb_id = color_pick_fb_id; drawable->depth_stencil_buf = depth_stencil_buf; drawable->depth_buf = depth_buf; drawable->stencil_buf = stencil_buf;