forked from enlightenment/efl
Evas GL: Implement basic error get in software generic
This commit is contained in:
parent
28a76266c6
commit
d46a7fc172
|
@ -2565,6 +2565,19 @@ eng_gl_api_get(void *data EINA_UNUSED)
|
|||
#endif
|
||||
}
|
||||
|
||||
static int
|
||||
eng_gl_error_get(void *data)
|
||||
{
|
||||
Render_Engine_Software_Generic *re = data;
|
||||
|
||||
// TODO: Track EGL-like errors in the software engines
|
||||
|
||||
if (!re->ob)
|
||||
return EVAS_GL_BAD_DISPLAY;
|
||||
|
||||
return EVAS_GL_SUCCESS;
|
||||
}
|
||||
|
||||
//------------------------------------------------//
|
||||
|
||||
/* The following function require that any engine
|
||||
|
@ -4023,7 +4036,7 @@ init_gl(void)
|
|||
ORD(gl_proc_address_get); // FIXME: Need to implement
|
||||
ORD(gl_native_surface_get);
|
||||
ORD(gl_api_get);
|
||||
//ORD(gl_error_get);
|
||||
ORD(gl_error_get);
|
||||
//ORD(gl_current_context_get);
|
||||
//ORD(gl_current_surface_get);
|
||||
#undef ORD
|
||||
|
|
Loading…
Reference in New Issue