wined3d: Fix missing break inside switch in SetAutoGenFilterType.
This commit is contained in:
parent
f51542d9b5
commit
b36d4a1d51
|
@ -198,10 +198,12 @@ HRESULT WINAPI IWineD3DBaseTextureImpl_SetAutoGenFilterType(IWineD3DBaseTexture
|
|||
glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_FASTEST);
|
||||
checkGLcall("glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_FASTEST)");
|
||||
|
||||
break;
|
||||
case WINED3DTEXF_LINEAR:
|
||||
glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);
|
||||
checkGLcall("glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST)");
|
||||
|
||||
break;
|
||||
default:
|
||||
WARN("Unexpected filter type %d, setting to GL_NICEST\n", FilterType);
|
||||
glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);
|
||||
|
|
Loading…
Reference in New Issue