Closed justgook closed 4 years ago
Hi, this can probably be implemented with glGetIntegerv(GL_VIEWPORT, viewport);
, but I'm not sure if the values will be correct for pixel ratio !=1 (Retina).
The other way around it is to implement it from the GLFW side. That will be correct for sure, but will also depend on the other module implementation.
Fixed in webgl-raub@2.0.1
Properties:
drawingBufferWidth
drawingBufferHeight