http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d25da0
)
wined3d: Invalid NP2 fixup info is an internal error.
author
Henri Verbeet
<hverbeet@codeweavers.com>
Tue, 27 Jul 2010 10:54:51 +0000
(12:54 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 28 Jul 2010 10:22:52 +0000
(12:22 +0200)
dlls/wined3d/glsl_shader.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wined3d/glsl_shader.c
b/dlls/wined3d/glsl_shader.c
index 1eae83536476773a7afd4b4298475a1bf4a807e2..8ddbae0c8ee10ebd1734305c5a7d5b139d28fd8e 100644
(file)
--- a/
dlls/wined3d/glsl_shader.c
+++ b/
dlls/wined3d/glsl_shader.c
@@
-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;
}