=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Fix condition to determine if FIXME message should be printed.

Alexandre Julliard julliard at winehq.org
Wed Feb 15 16:06:24 CST 2017


Module: wine
Branch: master
Commit: 847ad7437a7e134535b5d3ea291fd2ecabe4fd3c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=847ad7437a7e134535b5d3ea291fd2ecabe4fd3c

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed Feb 15 14:27:30 2017 +0100

wined3d: Fix condition to determine if FIXME message should be printed.

Spotted by Matteo Bruni.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c
index 85a93d0..06db44a 100644
--- a/dlls/wined3d/view.c
+++ b/dlls/wined3d/view.c
@@ -166,7 +166,7 @@ static void create_buffer_texture(struct wined3d_gl_view *view,
     }
     else
     {
-        if (!offset || size != buffer->resource.size)
+        if (offset || size != buffer->resource.size)
             FIXME("OpenGL implementation does not support ARB_texture_buffer_range.\n");
         GL_EXTCALL(glTexBuffer(GL_TEXTURE_BUFFER, view_format->glInternal, buffer->buffer_object));
     }




More information about the wine-cvs mailing list