wined3d: Invalid NP2 fixup info is an internal error.
This commit is contained in:
parent
0d25da0c0d
commit
ea2bb2a904
|
@ -698,8 +698,9 @@ static void shader_glsl_load_np2fixup_constants(
|
||||||
const IWineD3DBaseTextureImpl* const tex = (const IWineD3DBaseTextureImpl*) stateBlock->textures[i];
|
const IWineD3DBaseTextureImpl* const tex = (const IWineD3DBaseTextureImpl*) stateBlock->textures[i];
|
||||||
GLfloat* tex_dim = &np2fixup_constants[(idx >> 1) * 4];
|
GLfloat* tex_dim = &np2fixup_constants[(idx >> 1) * 4];
|
||||||
|
|
||||||
if (!tex) {
|
if (!tex)
|
||||||
FIXME("Nonexistent texture is flagged for NP2 texcoord fixup\n");
|
{
|
||||||
|
ERR("Nonexistent texture is flagged for NP2 texcoord fixup.\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue