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:
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);
}