Navigation Menu

Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lexaknyazev committed Nov 30, 2016
1 parent 5b347c6 commit 709cf8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/1.0/README.md
Expand Up @@ -830,7 +830,7 @@ Render states define the fixed-function GL state when a primitive is rendered. T
* `enable`: an array of integers corresponding to Boolean GL states that should be enabled using GL's `enable` function.
* `functions`: a dictionary object containing properties corresponding to the names of GL state functions to call. Each property is an array, where the elements correspond to the arguments of the GL function.
Valid values for elements in the `enable` array are `3042` (`BLEND`), `2884` (`CULL_FACE`), `2929` (`DEPTH_TEST`), `32823` (`POLYGON_OFFSET_FILL`), `32926` (`SAMPLE_ALPHA_TO_COVERAGE`), and `3089` (`SCISSOR_TEST`). If any of these values are not in the array, the GL state should be disabled (which is the GL default state). If the `enable` array is not defined in the `pass`, all of these Boolean GL states are disabled.
Valid values for elements in the `enable` array are `3042` (`BLEND`), `2884` (`CULL_FACE`), `2929` (`DEPTH_TEST`), `32823` (`POLYGON_OFFSET_FILL`), `32926` (`SAMPLE_ALPHA_TO_COVERAGE`), and `3089` (`SCISSOR_TEST`). If any of these values are not in the array, the GL state should be disabled (which is the GL default state). If the `enable` array is not defined in the `states`, all of these Boolean GL states are disabled.
Each property in `functions` indicates a GL function to call and the arguments to provide. Valid property names are `"blendColor"`, `"blendEquationSeparate"`, `"blendFuncSeparate"`, `"colorMask"`, `"cullFace"`, `"depthFunc"`, `"depthMask"`, `"depthRange"`, `"frontFace"`, `"lineWidth"`, `"polygonOffset"`, and `"scissor"`. If a property is not defined, the GL state for that function should be set to the default value(s) shown in the example below.
Expand Down Expand Up @@ -1109,7 +1109,7 @@ Only the `version` property is required. For example,
"Application specific" : "The extra object can contain any properties."
}
},
"version": 0.8
"version": "1.0"
}
```
Expand Down

0 comments on commit 709cf8d

Please sign in to comment.