waterfallgl: fixed problem with texture edge error