diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-18 18:32:39 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-01-18 18:34:01 +0800 |
commit | 6291ab21c558cbf9a55a1ff8eecfb0c1566f2fde (patch) | |
tree | f1b74affcb39c7c58a99adb7b49049044ef29096 | |
parent | 6b2cf2c083f9714cfabffb3d0a87fe7f81b73fdd (diff) |
Embed a pointer to config in st_framebuffer.issue1-proposal
The config (instead of a pointer to it) may be embedded in
st_framebuffer. But with the const qualifier, we cannot initialize the
fb in the first place :(
-rw-r--r-- | st_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ struct st_framebuffer_config */ struct st_framebuffer { - const struct st_framebuffer_config config; + const struct st_framebuffer_config *config; /** * Flush the front buffer. |