forked from enlightenment/efl
Evas GL: Skip direct rendering check if the surface is indirect
Note: These checks are only for debugging.
This commit is contained in:
parent
29cb8aeb59
commit
f419555cd8
|
@ -1469,6 +1469,10 @@ _evgl_not_in_pixel_get(void)
|
|||
if (!ctx || !ctx->current_sfc)
|
||||
return 0;
|
||||
|
||||
// if indirect rendering, we don't care. eg. elm_glview's init cb
|
||||
if (!ctx->current_sfc->direct_fb_opt)
|
||||
return 0;
|
||||
|
||||
return !rsc->direct.in_get_pixels;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue