These variables were not really used in the #else branch of the ifdef.
This moves them to the correct place removing the unused variables issues.
static int
_context_ext_check(EVGL_Context *ctx)
{
- int fbo_supported = 0;
- int egl_image_supported = 0;
- int texture_image_supported = 0;
-
if (!ctx)
return 0;
return 1;
#ifdef GL_GLES
+ int fbo_supported = 0;
+ int egl_image_supported = 0;
+ int texture_image_supported = 0;
+
switch (ctx->version)
{
case EVAS_GL_GLES_1_X:
else
ctx->pixmap_image_supported = 1;
}
-#else
- fbo_supported = 1;
- egl_image_supported = 0;
- texture_image_supported = 0;
#endif
ctx->extension_checked = 1;