wined3d: Set the max mipmap level in the pbo test.
fglrx refuses to use PBOs on not mipmap complete textures. The texture code already takes care of this, do the same in the test.
This commit is contained in:
parent
8513f64a01
commit
25a59fe71b
|
@ -3900,6 +3900,8 @@ static void test_pbo_functionality(WineD3D_GL_Info *gl_info) {
|
|||
while(glGetError());
|
||||
glGenTextures(1, &texture);
|
||||
glBindTexture(GL_TEXTURE_2D, texture);
|
||||
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, 4, 4, 0, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, 0);
|
||||
checkGLcall("Specifying the PBO test texture\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue