i915: Fix for edgeflags
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Thu, 22 May 2008 13:02:54 +0000 (15:02 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 23 May 2008 14:26:20 +0000 (16:26 +0200)
src/gallium/drivers/i915simple/i915_state.c

index 4adeb37e86005650c1eae2303d4a3661aa72df3c..964bd7c871cc94a2b4d5f699f3c044c4880a7baa 100644 (file)
@@ -717,10 +717,16 @@ static void i915_set_vertex_elements(struct pipe_context *pipe,
 }
 
 
+static void i915_set_edgeflags(struct pipe_context *pipe,
+                               const unsigned *bitfield)
+{
+   /* TODO do something here */
+}
 
 void
 i915_init_state_functions( struct i915_context *i915 )
 {
+   i915->pipe.set_edgeflags = i915_set_edgeflags;
    i915->pipe.create_blend_state = i915_create_blend_state;
    i915->pipe.bind_blend_state = i915_bind_blend_state;
    i915->pipe.delete_blend_state = i915_delete_blend_state;