Unless there is a solid performance reason for avoiding glUseProgram(0), I think it's useful to keep. Because if honoured correctly (which now looks doubtful for Mesa), it will prevent stray calls (like glUniform) from affecting other peoples' shader programs by accident.
Unless there is a solid performance reason for avoiding glUseProgram(0), I think it's useful to keep. Because if honoured correctly (which now looks doubtful for Mesa), it will prevent stray calls (like glUniform) from affecting other peoples' shader programs by accident.