Hi,

looking at src/core/state.h - should dfb_state_set_colorkey() not update
SMF_COLORKEY instead of SMF_COLOR ?


Cheers,
Andre'

>From 7cb9ed746ae9a2fefbc0d9e1239c0f7a3e30f278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.dras...@st.com>
Date: Mon, 7 Nov 2011 17:45:26 +0000
Subject: [PATCH] state: fix state->modified for dfb_state_set_colorkey()

---
 src/core/state.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/state.h b/src/core/state.h
index b694130..2c3a47c 100644
--- a/src/core/state.h
+++ b/src/core/state.h
@@ -338,7 +338,7 @@ static inline void dfb_state_set_colorkey( CardState *state, const DFBColorKey *
 
      if (! DFB_COLORKEY_EQUAL( state->colorkey, *key )) {
           state->colorkey = *key;
-          state->modified = (StateModificationFlags)( state->modified | SMF_COLOR );
+          state->modified = (StateModificationFlags)( state->modified | SMF_COLORKEY );
      }
 }
 
-- 
1.7.1

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to