Commit ea2bb2a9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Invalid NP2 fixup info is an internal error.

parent 0d25da0c
......@@ -698,8 +698,9 @@ static void shader_glsl_load_np2fixup_constants(
const IWineD3DBaseTextureImpl* const tex = (const IWineD3DBaseTextureImpl*) stateBlock->textures[i];
GLfloat* tex_dim = &np2fixup_constants[(idx >> 1) * 4];
if (!tex) {
FIXME("Nonexistent texture is flagged for NP2 texcoord fixup\n");
if (!tex)
{
ERR("Nonexistent texture is flagged for NP2 texcoord fixup.\n");
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment