wasabia / flutter_gl

cross-platform call OpenGL API by Dart through dart:ffi. Provides OpenGL with Texture Widget on Flutter.
243 stars 60 forks source link

Example doesn't render triangle on iOS #14

Closed intonarumori closed 2 years ago

intonarumori commented 2 years ago

I was trying the plugin on iOS but the Triangle didn't render. Do you have any tips on what to try to make it work?

I did some basic digging around the shaders and went through the openGL calls, seemed to be fine. I'm new to Flutter so still getting used to the interoperability.

Any tips would be welcome.

wasabia commented 2 years ago

Hi @intonarumori pull code, for iOS, need set viewport ...

intonarumori commented 2 years ago

Perfect. Thanks for the update, I tested the example and it's working as intended. Closing this issue.