Cleanup: comment on `GPU_pass_compile`.
authormano-wii <germano.costa@ig.com.br>
Tue, 12 Mar 2019 17:28:57 +0000 (14:28 -0300)
committermano-wii <germano.costa@ig.com.br>
Tue, 12 Mar 2019 17:29:50 +0000 (14:29 -0300)
source/blender/gpu/intern/gpu_codegen.c

index 63105fa96e2fa796aa85f326ff0713e185afbb6f..eb6c0c6cc5e6daf7dfa1897afa454e127e919ed6 100644 (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);
                }