Skip to content

Commit

Permalink
fix: capabilities remove duplicate MAX_COMBINED_TEXTURE_IMAGE_UNITS
Browse files Browse the repository at this point in the history
  • Loading branch information
06wj committed Sep 9, 2020
1 parent c80fd2b commit f601071
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/renderer/capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ const capabilities = {
*/
MAX_VERTEX_UNIFORM_VECTORS: undefined,

/**
* @type {number}
*/
MAX_COMBINED_TEXTURE_IMAGE_UNITS: undefined,

/**
* 初始化
* @param {WebGLRenderingContext} gl
Expand All @@ -120,7 +115,6 @@ const capabilities = {
'MAX_VERTEX_ATTRIBS',
'MAX_VERTEX_TEXTURE_IMAGE_UNITS',
'MAX_VERTEX_UNIFORM_VECTORS',
'MAX_COMBINED_TEXTURE_IMAGE_UNITS'
];

arr.forEach((name) => {
Expand Down

0 comments on commit f601071

Please sign in to comment.