In my fragment program, how do I know whether I need to explicitly enable some extension using #extension? I presume it depends on what OpenGL core version the graphics card driver implements. So the NPOT textures extension, which became part of 2.0 core, should probably be explicitly enabled on a machine with older driver (let's assume that I couldn't update the driver). Could someone confirm my speculations?



