Cleanup: comment on GPU_pass_compile.

This commit is contained in:
mano-wii
2019-03-12 14:28:57 -03:00
parent c427590c4e
commit 75424b296d

View File

@@ -1979,8 +1979,8 @@ void GPU_pass_compile(GPUPass *pass, const char *shname)
pass->shader = NULL;
}
else if (!BLI_thread_is_main()) {
/* For some drivers, you must use the program at least once in the
* rendering context that it is created. */
/* For some Intel drivers, you must use the program at least once
* in the rendering context that it is linked. */
glUseProgram(GPU_shader_get_program(pass->shader));
glUseProgram(0);
}