Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/drawnode.c
| Context not available. | |||||
| #include "GPU_batch.h" | #include "GPU_batch.h" | ||||
| #include "GPU_batch_presets.h" | #include "GPU_batch_presets.h" | ||||
| #include "GPU_extensions.h" | |||||
| #include "GPU_immediate.h" | #include "GPU_immediate.h" | ||||
| #include "GPU_matrix.h" | #include "GPU_matrix.h" | ||||
| #include "GPU_state.h" | #include "GPU_state.h" | ||||
| Context not available. | |||||
| nodelink_batch_init(); | nodelink_batch_init(); | ||||
| } | } | ||||
| if (g_batch_link.enabled) { | /* TODO: disable due to problems on nVidia RTX cards. Symptons: node links only draw in some situations. */ | ||||
| if (g_batch_link.enabled && !GPU_type_matches(GPU_DEVICE_NVIDIA, GPU_OS_ANY, GPU_DRIVER_ANY)) { | |||||
| /* Add link to batch. */ | /* Add link to batch. */ | ||||
| nodelink_batch_add_link( | nodelink_batch_add_link( | ||||
| snode, vec[0], vec[1], vec[2], vec[3], th_col1, th_col2, th_col3, drawarrow); | snode, vec[0], vec[1], vec[2], vec[3], th_col1, th_col2, th_col3, drawarrow); | ||||
| Context not available. | |||||