From aec4d225b28bfb97aa04845fe038b37e4ffad240 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 25 Feb 2010 14:21:50 +0100 Subject: [PATCH] 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 insertion(+), 1 deletion(-) create mode 100644 src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-abs.png diff --git a/src/gallium/state_trackers/python/p_state.i b/src/gallium/state_trackers/python/p_state.i index 5afe4d49082..eda77b56f8e 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 0000000000000000000000000000000000000000..c947a7b8813dda47928649392cdc69672f7aed54 GIT binary patch literal 8750 zcmeI2`(G1h+J`3z6EKDV7Bxfxm99l7b~uU_Arv=;%A#0HMQn}AIw_!FWtFvBlF$XU zsKi=JT`eeRt%8jerL|fUvD8z|K|}!$18PMm3Myi0W%hn12{ZdIyzknNKREaEz3$U< znn^d#NuKF0l8G=3b5B&xn2TXNIr{4+geSk0?mLKKCK^MG9WGL$#c@MaSdQKGMO29{T64!j{lV z)yI6+$UjlI$n3YIc0iG?tyGO;4LTmSp~?T`$mcyK`Rke9C34opKcVwCKfIIOz4X$Ks?v50KTZNrE5A)$qZ|-D73j`dIOkiU~eOZF;=PAS`PUJhaYs`n|-q>Upad9&K zV@7l}SkS#Og(%^QG*irz->T`0Y7vdaYyV5cyTFL<%@TBfkwPSKLZ)DD z%}IuJ9vh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