diff --git a/CHANGELOG.md b/CHANGELOG.md index c55010f80507c901765164a22b2919f923a5ae02..abb159b76d84eb2d8c8285cd3650c733b4d73e65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Note that since we don't clearly distinguish between a public and private interf - Remove pca transform from components ui focus (too distracting) - Fix artefacts with opaque outlines behind transparent objects - Fix polymer trace visual not updating - +- Fix use of `WEBGL_provoking_vertex` ## [v3.31.1] - 2023-02-05 @@ -19,8 +19,7 @@ Note that since we don't clearly distinguish between a public and private interf - The average position of the residues of the first chain should be in the first quadrant if there is more than one chain - Add `HeadlessPluginContext` and `HeadlessScreenshotHelper` to be used in Node.js - Add example `image-renderer` -- Fix wrong offset when rendering text with orthographic projectio -n +- Fix wrong offset when rendering text with orthographic projection - Update camera/handle helper when `devicePixelRatio` changes - Add various options to customize the axes camera-helper - Fix issue with texture-mesh color smoothing when changing themes diff --git a/src/mol-gl/webgl/compat.ts b/src/mol-gl/webgl/compat.ts index c490ca1e1fd92ff05a826f8a7002cced0961d512..634849fede2c0432e1099809bc4d0a97e4308e69 100644 --- a/src/mol-gl/webgl/compat.ts +++ b/src/mol-gl/webgl/compat.ts @@ -541,7 +541,7 @@ export function getProvokingVertex(gl: GLRenderingContext): COMPAT_provoking_ver FIRST_VERTEX_CONVENTION: ext.FIRST_VERTEX_CONVENTION_WEBGL, LAST_VERTEX_CONVENTION: ext.LAST_VERTEX_CONVENTION_WEBGL, PROVOKING_VERTEX: ext.PROVOKING_VERTEX_WEBGL, - provokingVertex: ext.provokingVertexWEBGL.bind(gl) + provokingVertex: ext.provokingVertexWEBGL.bind(ext) }; } }