### 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.
#endif
		GLuint texture_atlas = texture_storage->texture_atlas_get_texture();
		if (texture_atlas == 0) {
			GLES3::Texture *tex = texture_storage->get_texture(texture_storage->texture_gl_get_default(GLES3::DEFAULT_GL_TEXTURE_WHITE));
			texture_atlas = tex->tex_id;
		}
		glActiveTexture(GL_TEXTURE0 + GLES3::Config::get_singleton()->max_texture_image_units - 2);
		glBindTexture(GL_TEXTURE_2D, texture_atlas);
		GLuint shadow_tex = state.shadow_texture;
		if (shadow_tex == 0) {
			GLES3::Texture *tex = texture_storage->get_texture(texture_storage->texture_gl_get_default(GLES3::DEFAULT_GL_TEXTURE_WHITE));
			shadow_tex = tex->tex_id;
		}
		glActiveTexture(GL_TEXTURE0 + GLES3::Config::get_singleton()->max_texture_image_units - 3);
		glBindTexture(GL_TEXTURE_2D, shadow_tex);
	}
	{
		
		StateBuffer state_buffer;
		Size2i ssize = texture_storage->render_target_get_size(p_to_render_target);
		
		
		
		float y_scale = texture_storage->render_target_get_override_color(p_to_render_target).is_valid() ? -2.0f : 2.0f;
		Transform3D screen_transform;
		screen_transform.translate_local(-(ssize.width / 2.0f), -(ssize.height / 2.0f), 0.0f);
		screen_transform.scale(Vector3(2.0f / ssize.width, y_scale / ssize.height, 1.0f));
		_update_transform_to_mat4(screen_transform, state_buffer.screen_transform);
		_update_transform_2d_to_mat4(p_canvas_transform, state_buffer.canvas_transform);
		Transform2D normal_transform = p_canvas_transform;