Emulated version of Twilight Princess has a strange water texture in Dolphin 4.0

I have tried playing the GameCube version of Legend of Zelda: Twilight Princess on Dolphin 4.0-5973 for Mac. My problem is that water has weird lines over it that look like this:

glitched water texture 1

However, when I swim, the water shows the correct way:

glitched water texture 2

My biggest problem is that when I go underwater, this happens (referring to the lines blocking everything):

glitched water texture 3

This makes it almost impossible to play any part of the game which has water puzzles. How can I solve this?


Solution 1:

This issue was fixed on March 10, 2016 with Dolphin 4.0-9158.

According to the official Dolphin Progress Report for March 2016, this issue was caused by a bug in Apple's OS X Graphics Drivers. It was fixed by developers endrift and Sonicadvance1.

Before After