Skip to content

Commit

Permalink
Fix a variable reference in red-format video-to-texture tests.
Browse files Browse the repository at this point in the history
Follow-on to KhronosGroup#3404 .

Associated with http://crbug.com/1208480 .
  • Loading branch information
kenrussell committed May 21, 2022
1 parent 1646ae6 commit e39076d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/tests/js/webgl-test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3373,7 +3373,7 @@ var colorAsSampledWithInternalFormat = function(color, internalFormat) {
case 'R8UI':
case 'RED':
case 'RED_INTEGER':
return [result[0], 0, 0, 0];
return [color[0], 0, 0, 0];
case 'RG':
case 'RG16F':
case 'RG32F':
Expand Down

0 comments on commit e39076d

Please sign in to comment.