強制啓動webGL

用到的Infraworks 2014 web viewer需要WebGL支持,最近在升級firefox之後,同一臺機器上,FireFox, http://get.webgl.org/測試,信息提示webGL不能用,但是Chrome上可以。
這樣的話應該不是顯卡驅動需要升級的問題,再Google一下,貌似自己的顯卡在firefox blocklist裏,需要手動開啓webgl,步驟如下(摘自:http://www.sitepoint.com/firefox-enable-webgl-blacklisted-graphics-card/):
Type about:config in Firefox’s address bar and make the following changes:

    To enable WebGL, set webgl.force-enabled to true.
    To enable Layers Acceleration, set layers.acceleration.force-enabled to true
    To enable Direct2D in Windows Vista/7, set gfx.direct2d.force-enabled to true

Now, cross your fingers, restart Firefox and try running a WebGL application. It’s probably best to undo those changes if smoke starts pouring from your PC.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章