luma.gl icon indicating copy to clipboard operation
luma.gl copied to clipboard

Renderbuffer.getSamplesForFormat cause error maximum call stack size exceeded

Open littleTigerRunRunRun opened this issue 4 years ago • 0 comments

A bug that when you use the Renderbuffer.getSamplesForFormat, the code will get a error "Maximum call stack size exceeded" will happen in code like this:

code start

import { Renderbuffer } from '@luma.gl/webgl' import GL from '@luma.gl/constants'

// I get gl from the AnimationLoop Renderbuffer.getSamplesForFormat(gl, { format: GL.RGBA8 })

code end

I'm sure my chrome get the webgl2 render context.

Actual Result

get an error

Expected Result

get the samples i can use back

littleTigerRunRunRun avatar Oct 29 '20 12:10 littleTigerRunRunRun