Skip to content

Commit

Permalink
Link to relevant issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jan 4, 2019
1 parent 309bd63 commit cfa5397
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/script/dom/webglrenderingcontext.rs
Expand Up @@ -212,6 +212,8 @@ impl WebGLRenderingContext {
current_program: MutNullableDom::new(None),
current_vertex_attrib_0: Cell::new((0f32, 0f32, 0f32, 1f32)),
current_scissor: Cell::new((0, 0, size.width, size.height)),
// FIXME(#21718) The backend is allowed to choose a size smaller than
// what was requested
size: Cell::new(size),
current_clear_color: Cell::new((0.0, 0.0, 0.0, 0.0)),
extension_manager: WebGLExtensions::new(webgl_version),
Expand Down Expand Up @@ -268,6 +270,8 @@ impl WebGLRenderingContext {
pub fn recreate(&self, size: Size2D<u32>) {
let (sender, receiver) = webgl_channel().unwrap();
self.webgl_sender.send_resize(size, sender).unwrap();
// FIXME(#21718) The backend is allowed to choose a size smaller than
// what was requested
self.size.set(size);

if let Err(msg) = receiver.recv().unwrap() {
Expand Down
1 change: 1 addition & 0 deletions components/script/dom/webidls/XRViewerPose.webidl
Expand Up @@ -9,5 +9,6 @@ interface XRViewerPose {
// readonly attribute XRRigidTransform transform;
// readonly attribute FrozenArray<XRView> views;
// workaround until we have FrozenArray
// see https://github.com/servo/servo/issues/10427#issuecomment-449593626
readonly attribute any views;
};

0 comments on commit cfa5397

Please sign in to comment.