Hi,
I just tried to compile flutter_angle on Linux and there seems to have been a change in the texture API due to which flutter_angle does not compile. The current code in fl_angle_texture_gl.cc assumes 4 parameters for the populate method, but it now has *width and *height as well, so 6
static gboolean fl_angle_texture_gl_populate(
FlTextureGL *texture,
uint32_t *target,
uint32_t *name,
GError error
){
// std::cout << "attention: populate called" << std::endl;
FlAngleTextureGL f = (FlAngleTextureGL) texture;
*target = f->target;
*name = f->name;
return true;
}
Hi,
I just tried to compile flutter_angle on Linux and there seems to have been a change in the texture API due to which flutter_angle does not compile. The current code in fl_angle_texture_gl.cc assumes 4 parameters for the populate method, but it now has *width and *height as well, so 6
static gboolean fl_angle_texture_gl_populate(
FlTextureGL *texture,
uint32_t *target,
uint32_t *name,
GError error
){
// std::cout << "attention: populate called" << std::endl;
FlAngleTextureGL f = (FlAngleTextureGL) texture;
*target = f->target;
*name = f->name;
return true;
}