sz3 / libcimbar

Optimized implementation for color-icon-matrix barcodes
https://cimbar.org
Mozilla Public License 2.0
4.24k stars 307 forks source link

WebGL issue #95

Open be4zad opened 8 months ago

be4zad commented 8 months ago

My GPU is old and doesn't much support GL related things. so the website doesn't show the barcode and this error appears in the console:

Failed to create WebGL context: WebGL creation failed: 
* tryNativeGL (FEATURE_FAILURE_EGL_NO_CONFIG)
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)

My browser is firefox and the issue may solve by:

It's good idea to handle the error and suggest to user to try above suggestions.

sz3 commented 8 months ago

Yeah, error handling should be better. At the very least it'd be good to report the WebGL creation failed part back.

sz3 commented 2 months ago

I believe the error reporting is better in the current version (https://github.com/sz3/libcimbar/releases/tag/v0.6.1f)