update to lib

This commit is contained in:
Florian Boesch 2013-06-08 21:17:16 +00:00
parent 8874855b42
commit ad1a99a339
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ textureFloatShims = ->
else if a.score > b.score then -1
if result.length == 0
if throws
if spec.throws
throw 'No floating point texture support that is ' + spec.require.join(', ')
else
return null

View File

@ -419,7 +419,7 @@
}
});
if (result.length === 0) {
if (throws) {
if (spec.throws) {
throw 'No floating point texture support that is ' + spec.require.join(', ');
} else {
return null;