empaempa / GLOW

GLOW is a WebGL wrapper, which focuses on easy creation and use of shaders.
http://i-am-glow.com
MIT License
244 stars 28 forks source link

FBO Simulation example fails on Chrome 40 #29

Open dy-dx opened 9 years ago

dy-dx commented 9 years ago

On Chrome 40, OSX 10.10, I get this error when viewing the FBO Simulation example:

[.WebGLRenderingContext]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same.

However, Firefox 34 & Safari 8 work fine.

dy-dx commented 9 years ago

Due to this? https://code.google.com/p/chromium/issues/detail?id=421695

empaempa commented 9 years ago

Hey! That sounds reasonable but also a bit limiting on Chrome's part. If you're looking into using FBOs, please make sure you "double buffer" so source/destinations are two separate textures :)

On Tue Dec 16 2014 at 8:33:38 PM Chris Kim notifications@github.com wrote:

Due to this? https://code.google.com/p/chromium/issues/detail?id=421695

— Reply to this email directly or view it on GitHub https://github.com/empaempa/GLOW/issues/29#issuecomment-67217577.