Skip to content

Commit

Permalink
some notes about the weak webgl detect.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Oct 19, 2011
1 parent d4bfec6 commit 2cc2e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ window.Modernizr = (function( window, document, undefined ) {
// You might have hardware that can support a 100x100 webgl canvas, but will not support a 1000x1000 webgl
// canvas. So this feature inference is weak, but intentionally so.

// It is known to false positive in FF4 with certain hardware and the iPad 2.
// It is known to false positive in FF4 with certain hardware, the iPad 2, and iOS5
// webk.it/70117 is tracking a legit feature detect proposal

tests['webgl'] = function() {
return !!window.WebGLRenderingContext;
Expand Down

0 comments on commit 2cc2e44

Please sign in to comment.