Alex Norman wrote:
If possible it would be good to keep the ability to do a compile time switch to disable shaders even if your hardware supports it as chromium does not support shaders [which make sense as it is distributed over several computers] and it would be nice to retain chromium support.
right, i definitely want to keep chromium support.
however, glew checks the underlying openGL implementation (most of the times this will be your hardware driver; but in the case of chromium, it should be chromium that is asked...) for existing extensions. if chromium does not support shaders, i guess shaders would be reported as unsupported.
however, i have not tried yet. did you?
fgamsdrö IOhannes