webxr-samples icon indicating copy to clipboard operation
webxr-samples copied to clipboard

Add missing glClear call to layer samples

Open idrisshah opened this issue 1 year ago • 2 comments

Quad layer samples are broken because of missing glClear on Magic Leap system. These samples miss a glClear call before every frame rendered.

** This patch is funded by Magic Leap

idrisshah avatar Jan 25 '24 20:01 idrisshah

Thanks for this clarification. I missed that part. In that case, there are some samples that still have glClear calls like: https://immersive-web.github.io/webxr-samples/layers-samples/proj-layer.html. Should those be cleaned up for consistency?

idrisshah avatar Jan 26 '24 17:01 idrisshah

Thanks for this clarification. I missed that part. In that case, there are some samples that still have glClear calls like: https://immersive-web.github.io/webxr-samples/layers-samples/proj-layer.html. Should those be cleaned up for consistency?

yes, that would be good

cabanier avatar Jan 26 '24 17:01 cabanier