python: Fix typo.
[mesa.git] / src / gallium / state_trackers / python / p_state.i
index 5afe4d49082448531a5eb701db1476f810747ab0..eda77b56f8ed2aa78fc8dec06ca96c98430c03c2 100644 (file)
@@ -69,7 +69,7 @@
    pipe_blend_state(const char *STRING, unsigned LENGTH)
    {
       struct pipe_blend_state *state;
-      state = CALLOC_STRUCT(pipe_framebuffer_state);
+      state = CALLOC_STRUCT(pipe_blend_state);
       if (state) {
          LENGTH = MIN2(sizeof *state, LENGTH);
          memcpy(state, STRING, LENGTH);