evas: fix Evas.Canvas3D color pick
authorOleksandr Shcherbina <o.shcherbina@samsung.com>
Mon, 22 Jun 2015 09:11:29 +0000 (11:11 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 22 Jun 2015 09:11:33 +0000 (11:11 +0200)
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 <cedric@osg.samsung.com>
src/modules/evas/engines/gl_common/evas_gl_3d.c

index da83853..1c305a1 100644 (file)
@@ -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;