Cleanup: comment on GPU_pass_compile
.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user