Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_compositing.c
| Context not available. | |||||
| return false; | return false; | ||||
| } | } | ||||
| if (!(fx->depth_buffer = GPU_texture_create_depth(w, h, err_out))) { | if (!(fx->depth_buffer = GPU_texture_create_depth(w, h, true, err_out))) { | ||||
| printf("%.256s\n", err_out); | printf("%.256s\n", err_out); | ||||
| cleanup_fx_gl_data(fx, true); | cleanup_fx_gl_data(fx, true); | ||||
| return false; | return false; | ||||
| Context not available. | |||||
| if (do_xray) { | if (do_xray) { | ||||
| if (!fx->depth_buffer_xray && | if (!fx->depth_buffer_xray && | ||||
| !(fx->depth_buffer_xray = GPU_texture_create_depth(fx->gbuffer_dim[0], fx->gbuffer_dim[1], err_out))) | !(fx->depth_buffer_xray = GPU_texture_create_depth(fx->gbuffer_dim[0], fx->gbuffer_dim[1], true, err_out))) | ||||
| { | { | ||||
| printf("%.256s\n", err_out); | printf("%.256s\n", err_out); | ||||
| cleanup_fx_gl_data(fx, true); | cleanup_fx_gl_data(fx, true); | ||||
| Context not available. | |||||