diff options
author | GiWoong Kim <giwoong.kim@samsung.com> | 2013-09-03 18:06:37 +0900 |
---|---|---|
committer | GiWoong Kim <giwoong.kim@samsung.com> | 2013-09-03 18:58:26 +0900 |
commit | 6fd5cfff04c99b811d3a28fef98e4e6df0e5fc57 (patch) | |
tree | 7c6eac1765d4110ee80b65aae54dc6422a4ec775 /tizen/src/maru_shm.c | |
parent | 5469b9260b516ac8bfd4457259f03a908871909f (diff) | |
download | qemu-6fd5cfff04c99b811d3a28fef98e4e6df0e5fc57.tar.gz qemu-6fd5cfff04c99b811d3a28fef98e4e6df0e5fc57.tar.bz2 qemu-6fd5cfff04c99b811d3a28fef98e4e6df0e5fc57.zip |
display: modified SDL logic
SDL_SetVideoMode should be called in the main thread
Change-Id: Icade58c46b3af0ec972158d2e750deec98363967
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Diffstat (limited to 'tizen/src/maru_shm.c')
-rw-r--r-- | tizen/src/maru_shm.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tizen/src/maru_shm.c b/tizen/src/maru_shm.c index 8992875222..14f38b5991 100644 --- a/tizen/src/maru_shm.c +++ b/tizen/src/maru_shm.c @@ -186,14 +186,12 @@ DisplayChangeListenerOps maru_dcl_ops = { }; void maruskin_shm_init(uint64 swt_handle, - int lcd_size_width, int lcd_size_height, bool is_resize) + int lcd_size_width, int lcd_size_height) { - INFO("maru shm initialization = %d\n", is_resize); + INFO("maru shm init\n"); - if (is_resize == FALSE) { //once - set_emul_lcd_size(lcd_size_width, lcd_size_height); - set_emul_sdl_bpp(32); - } + set_emul_lcd_size(lcd_size_width, lcd_size_height); + set_emul_sdl_bpp(32); /* byte */ int shm_size = |