Skip to content

Commit

Permalink
Merge pull request regl-project#511 from regl-project/fix-extension-r…
Browse files Browse the repository at this point in the history
…estore

Fix extension state restore from context loss
  • Loading branch information
mikolalysenko authored Oct 23, 2018
2 parents b7afc4b + 0b39cfd commit a6a9260
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion dist/regl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ declare namespace REGL {
/* Replaces the area at offset `x` (default: 0), `y` (default: 0), with `data`. */
subimage(data: REGL.TextureImageData, x?: number, y?: number, level?: number): REGL.Texture2D;
/* Replaces a subset of the image using creation `options`. */
subimage(options: Texture2DOptions): REGL.Texture2D;
subimage(options: Texture2DOptions, x?: number, y?: number, level?: number): REGL.Texture2D;

/** Resizes the texture to `radius` x `radius`. */
resize(radius: number): REGL.Texture2D;
Expand Down
3 changes: 1 addition & 2 deletions dist/regl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a6a9260

Please sign in to comment.