python: Fix typo.
authorMichal Krol <michal@vmware.com>
Thu, 25 Feb 2010 13:21:50 +0000 (14:21 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 25 Feb 2010 16:16:25 +0000 (16:16 +0000)
src/gallium/state_trackers/python/p_state.i
src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png [new file with mode: 0644]

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);
diff --git a/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png b/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png
new file mode 100644 (file)
index 0000000..c947a7b
Binary files /dev/null and b/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png differ