diff options
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/GPU_material.h | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_node_graph.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h index 0457b6bb9f2..4e28d3f2efe 100644 --- a/source/blender/gpu/GPU_material.h +++ b/source/blender/gpu/GPU_material.h @@ -83,7 +83,7 @@ typedef enum eGPUMaterialFlag { GPU_MATFLAG_OBJECT_INFO = (1 << 10), GPU_MATFLAG_AOV = (1 << 11), - GPU_MATFLAG_VIRTUAL_CAMERA = (1 << 12), + GPU_MATFLAG_VIRTUAL_MONITOR = (1 << 12), GPU_MATFLAG_BARYCENTRIC = (1 << 20), diff --git a/source/blender/gpu/intern/gpu_node_graph.c b/source/blender/gpu/intern/gpu_node_graph.c index 837cb114ac3..5c60d956abf 100644 --- a/source/blender/gpu/intern/gpu_node_graph.c +++ b/source/blender/gpu/intern/gpu_node_graph.c @@ -647,7 +647,7 @@ GPUNodeLink *GPU_image_camera(GPUMaterial *mat, Camera *camera, eGPUSamplerState &camera->runtime.offscreen_color_texture, link->link_type, sampler_state); - GPU_material_flag_set(mat, GPU_MATFLAG_VIRTUAL_CAMERA); + GPU_material_flag_set(mat, GPU_MATFLAG_VIRTUAL_MONITOR); return link; } |