I believe Android uses OpenGL ES rather than plain OpenGL. BGFX and SDL2 both support that, but I don't know if anyone's gotten it to work with MAME.