Comment 5 for bug 358403

Revision history for this message
In , Vytas (vytas) wrote :

Created an attachment (id=25944)
A simple test case

Actually this bug is rather easy to reproduce, any call to glCopyTexImage2D will trigger it if the requested texture width exceeds OpenGL window width, however any height is ok.
I have attached a simple test case for this.

In addition, if you allocate memory for the texture with something like this before operation:
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_BYTE, NULL);
...glCopyTexImage2D function succeeds.

I have used Intel drivers 2.7.1 and Linux 2.6.30.