Should NOT call viewport while binding texture #5904
Labels
platform:javascript
MediaPipe Javascript issues
stat:awaiting response
Waiting for user response
task:image segmentation
Issues related to image segmentation: Locate objects and create image masks with labels
type:bug
Bug in the Source Code of MediaPipe Solution
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Web
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
Typescript
MediaPipe version
master
Bazel version
No response
Solution
Tasks-vision -> ImageSegmenter
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Calling gl.viewport while binding texture is meaningless. It should be called only when rendering required to avoid affect application code.
Describe the expected behaviour
Bring gl.viewport to outside, to where it needs to render.
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: