diff --git a/CHANGES.md b/CHANGES.md index a09256f7535..3c8b531dacb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,6 +20,7 @@ Change Log ##### Fixes :wrench: * Fixed a bug where the camera could go underground during mouse navigation. [#8504](https://github.com/AnalyticalGraphicsInc/cesium/pull/8504) +* Fixed WebGL warning message about `EXT_float_blend` being implicitly enabled. [#8534](https://github.com/AnalyticalGraphicsInc/cesium/pull/8534) ### 1.65.0 - 2020-01-06 diff --git a/Source/Renderer/Context.js b/Source/Renderer/Context.js index eac1afd472d..1879a09f14e 100644 --- a/Source/Renderer/Context.js +++ b/Source/Renderer/Context.js @@ -251,6 +251,7 @@ import VertexArray from './VertexArray.js'; this._textureHalfFloatLinear = !!getExtension(gl, ['OES_texture_half_float_linear']); this._colorBufferFloat = !!getExtension(gl, ['EXT_color_buffer_float', 'WEBGL_color_buffer_float']); + this._floatBlend = !!getExtension(gl, ['EXT_float_blend']); this._colorBufferHalfFloat = !!getExtension(gl, ['EXT_color_buffer_half_float']); this._s3tc = !!getExtension(gl, ['WEBGL_compressed_texture_s3tc', 'MOZ_WEBGL_compressed_texture_s3tc', 'WEBKIT_WEBGL_compressed_texture_s3tc']); @@ -500,6 +501,19 @@ import VertexArray from './VertexArray.js'; } }, + /** + * <code>true</code> if the EXT_float_blend extension is supported. This + * extension enables blending with 32-bit float values. + * @memberof Context.prototype + * @type {Boolean} + * @see {@link https://www.khronos.org/registry/webgl/extensions/EXT_float_blend/} + */ + floatBlend : { + get : function() { + return this._floatBlend; + } + }, + /** * <code>true</code> if the EXT_blend_minmax extension is supported. This * extension extends blending capabilities by adding two new blend equations: