WebGL-Inspector icon indicating copy to clipboard operation
WebGL-Inspector copied to clipboard

drawingBufferWidth/Height not implemented

Open kpreid opened this issue 12 years ago • 1 comments

The properties drawingBufferWidth and drawingBufferHeight are not passed through properly by the CaptureContext; it appears that they are copied at creation time, so any resizing of the canvas (such as to fit the window size) will not update them properly.

I just heard about WebGL Inspector, and tried it out on my application, and this was the only problem I found.

kpreid avatar Apr 08 '12 13:04 kpreid

This should be pretty easy to fix with an Object.defineProperty to do a pass-through. I'll look at doing it soon!

benvanik avatar Apr 09 '12 17:04 benvanik