On Wed, Aug 3, 2016 at 10:01 AM, Chris Michael <cp.mich...@samsung.com> wrote: [...] > +#ifndef GL_GLES > if (v1 >= 360) gw->detected.noext_glXCreatePixmap = 1; > +#endif > } > } > else > @@ -558,7 +560,12 @@ try_gles2: > gw->detected.msaa = val; > #endif > > +#ifndef GL_GLES > eng_gl_symbols(gw->detected.noext_glXCreatePixmap); > +#else > + eng_gl_symbols(EINA_FALSE); // EINA_FALSE is ignored anyway for gl_gles > +#endif
Actually this gw->detected.noext_glXCreatePixmap is only used in this function, thus I wonder why not a local variable instead of adding a member to the struct and then ifdef it. -- Gustavo Sverzut Barbieri -------------------------------------- Mobile: +55 (16) 99354-9890 ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel