Matteo Bruni : wined3d: Get rid of the point sprite coordinate origin warning.

Alexandre Julliard julliard at winehq.org
Thu Mar 23 15:34:53 CDT 2017


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Mar 22 23:17:53 2017 +0100

wined3d: Get rid of the point sprite coordinate origin warning.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/drawprim.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c
index 4cb19e1..05a6380 100644
--- a/dlls/wined3d/drawprim.c
+++ b/dlls/wined3d/drawprim.c
@@ -490,15 +490,6 @@ void draw_primitive(struct wined3d_device *device, const struct wined3d_state *s
         wined3d_texture_invalidate_location(ds->container, dsv->sub_resource_idx, ~location);
     }
 
-    if ((!gl_info->supported[WINED3D_GL_VERSION_2_0]
-            || !gl_info->supported[NV_POINT_SPRITE])
-            && context->render_offscreen
-            && state->render_states[WINED3D_RS_POINTSPRITEENABLE]
-            && state->gl_primitive_type == GL_POINTS)
-    {
-        FIXME("Point sprite coordinate origin switching not supported.\n");
-    }
-
     stream_info = &context->stream_info;
     if (context->instance_count)
         instance_count = context->instance_count;




More information about the wine-cvs mailing list