Mesa (master): python: Fix typo.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Feb 25 17:10:28 UTC 2010


Module: Mesa
Branch: master
Commit: aec4d225b28bfb97aa04845fe038b37e4ffad240
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aec4d225b28bfb97aa04845fe038b37e4ffad240

Author: Michal Krol <michal at vmware.com>
Date:   Thu Feb 25 14:21:50 2010 +0100

python: Fix typo.

---

 src/gallium/state_trackers/python/p_state.i        |    2 +-
 .../tests/regress/fragment-shader/frag-abs.png     |  Bin 0 -> 8750 bytes
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/python/p_state.i b/src/gallium/state_trackers/python/p_state.i
index 5afe4d4..eda77b5 100644
--- a/src/gallium/state_trackers/python/p_state.i
+++ b/src/gallium/state_trackers/python/p_state.i
@@ -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
index 0000000..c947a7b
Binary files /dev/null and b/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png differ




More information about the mesa-commit mailing list