Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2019-03-12 20:28:57 +0300
committermano-wii <germano.costa@ig.com.br>2019-03-12 20:29:50 +0300
commit75424b296d18499582c7dbb992f24ca74c2c990f (patch)
treee983ff56c8bc7a2db6c8648d06f762af77c59743 /source/blender/gpu
parentc427590c4eb60a7187d9f340066ff837f9179cd5 (diff)
Cleanup: comment on `GPU_pass_compile`.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index 63105fa96e2..eb6c0c6cc5e 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -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);
}