wined3d: Invalid NP2 fixup info is an internal error.

This commit is contained in:
Henri Verbeet 2010-07-27 12:54:51 +02:00 committed by Alexandre Julliard
parent 0d25da0c0d
commit ea2bb2a904
1 changed files with 3 additions and 2 deletions

View File

@ -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;
} }