I setup 3 level mipmap textures which sizes are 4x4, 2x2, 1x1. The 2th level texture(2x2) is green color. The attached test case draws a QUAD which size is 2x2, the texture is applied incorrect. the QUAD includes 4 pixels in which 3 pixels are green but another pixel is blue.
Created attachment 11003 [details] test case
The test program is invalid. The texImage2 array is initialized with invalid indexes. The code should read: texImage2[0][0][0] = 0.0; texImage2[0][0][1] = 0.0; texImage2[0][0][2] = 1.0; texImage2[0][0][3] = 0.0; Then the rendering is correct.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.