### Godot version

4.0.beta17

### System information

windows 10, nvidia graphics, gl compatibility renderer

### Issue description

Checking or unchecking the 'transpose' checkbox in a tile alternative in the tileset editor has absolutely no visual effect. This was found by another user here https://github.com/godotengine/godot/issues/72525
This only happens in the compatibility renderer. I've tested with the vulkan (mobile and forward) and both worked fine.

### Steps to reproduce

See attached video:

https://user-images.githubusercontent.com/5783414/216274035-0acbe609-52b0-4dd8-90c1-b8970f248231.mp4



### Minimal reproduction project

[TileMapTransposeWontWork.zip](https://github.com/godotengine/godot/files/10566912/TileMapTransposeWontWork.zip)

### Work Around

User vulkan instead of opengl. Or, The user could create a specific tilemap node for rotated tiles and rotate the entire node by 90 or -90 degrees to achieve the desired result.
light_count++;
				if (light_count == data.max_lights_per_item - 1) {
					break;
				}
			}
			light = light->next_ptr;
		}
		base_flags |= light_count << FLAGS_LIGHT_COUNT_SHIFT;
	}
	bool lights_disabled = light_count == 0 && !state.using_directional_lights;
	if (lights_disabled != state.canvas_instance_batches[state.current_batch_index].lights_disabled) {
		_new_batch(r_batch_broken);
		state.canvas_instance_batches[state.current_batch_index].lights_disabled = lights_disabled;
	}
	const Item::Command *c = p_item->commands;
	while (c) {
		if (skipping && c->type != Item::Command::TYPE_ANIMATION_SLICE) {
			c = c->next;
			continue;
		}
		if (c->type != Item::Command::TYPE_MESH) {
			
			_update_transform_2d_to_mat2x3(base_transform * draw_transform, state.instance_data_array[r_index].world);
		}
		
		for (int i = 0; i < 4; i++) {
			state.instance_data_array[r_index].modulation[i] = 0.0;
			state.instance_data_array[r_index].ninepatch_margins[i] = 0.0;
			state.instance_data_array[r_index].src_rect[i] = 0.0;
			state.instance_data_array[r_index].dst_rect[i] = 0.0;