Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion flutter_angle/linux/fl_angle_texture_gl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ static gboolean fl_angle_texture_gl_populate(
FlTextureGL *texture,
uint32_t *target,
uint32_t *name,
uint32_t *width,
uint32_t *height,
GError **error
){
// std::cout << "attention: populate called" << std::endl;
FlAngleTextureGL* f = (FlAngleTextureGL*) texture;
*target = f->target;
*name = f->name;
*width = f->width;
*height = f->height;
return true;
}

Expand Down
1 change: 1 addition & 0 deletions flutter_angle/linux/include/fl_angle_texture_gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ struct _FlutterAnglePlugin{
GdkGLContext* context;

EGLDisplay eglDisplay;
EGLContext eglContext;
EGLConfig config;
Map *map = nullptr;
};
Expand Down