Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform-views: fix wrong size of texture id #379

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ class FlutterDesktopPlatformView {

bool IsFocused() const { return focused_; }

void SetTextureId(int texture_id) { texture_id_ = texture_id; }
void SetTextureId(int64_t texture_id) { texture_id_ = texture_id; }

int GetTextureId() const { return texture_id_; }
int64_t GetTextureId() const { return texture_id_; }

virtual void Resize(double width, double height) = 0;

Expand All @@ -49,7 +49,7 @@ class FlutterDesktopPlatformView {
private:
flutter::PluginRegistrar* registrar_;
int view_id_;
int texture_id_;
int64_t texture_id_;
bool focused_;
};

Expand Down