Mercurial > MadButterfly
view include/mb_graph_engine.h @ 523:c3fe9e4bdec1 Android_Skia
Fix a bug of a non-initialized variable.
pos_cnt is not initialized before used. It causes
- tank shows nothing at begining.
- dynamic being segmentation fault for any X event at first few seconds.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 22 Dec 2009 11:04:52 +0800 |
parents | 4254eaa699d0 |
children | e2c9117b1e12 586e50f82c1f |
line wrap: on
line source
#ifndef __MBE_H_ #define __MBE_H_ #include <mb_config.h> #ifdef CAIRO_GRAPH_ENGINE #include <mb_graph_engine_cairo.h> #endif #ifdef SKIA_GRAPH_ENGINE #include <mb_graph_engine_skia.h> #endif #endif /* __MBE_H_ */