Add back missing line.

This commit is contained in:
Relintai 2022-09-17 00:23:56 +02:00
parent 19dc79114d
commit 31491c78bc

View File

@ -944,6 +944,8 @@ void RasterizerCanvasGLES2::render_batches(Item *p_current_clip, bool &r_reclip,
if (!amount) {
break;
}
state.canvas_shader.set_conditional(CanvasShaderGLES2::USE_INSTANCE_CUSTOM, multi_mesh->custom_data_format != RS::MULTIMESH_CUSTOM_DATA_NONE);
state.canvas_shader.set_conditional(CanvasShaderGLES2::USE_INSTANCING, true);
_set_texture_rect_mode(false);