aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/fb/evas_outbuf.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-04-22 09:19:23 +1000
committerDavid Walter Seikel2012-04-22 09:19:23 +1000
commitc963d75dfdeec11f82e79e727062fbf89afa2c04 (patch)
tree895633dbf641110be46f117c29890c49b3ffc0bd /libraries/evas/src/modules/engines/fb/evas_outbuf.c
parentAdding the new extantz viewer and grid manager. (diff)
downloadSledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.zip
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.gz
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.bz2
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.xz
Update EFL to latest beta.
Diffstat (limited to 'libraries/evas/src/modules/engines/fb/evas_outbuf.c')
-rw-r--r--libraries/evas/src/modules/engines/fb/evas_outbuf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/evas/src/modules/engines/fb/evas_outbuf.c b/libraries/evas/src/modules/engines/fb/evas_outbuf.c
index 57cf7a6..7ae24c5 100644
--- a/libraries/evas/src/modules/engines/fb/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/fb/evas_outbuf.c
@@ -25,7 +25,7 @@ evas_fb_outbuf_fb_setup_fb(int w, int h, int rot, Outbuf_Depth depth, int vt_no,
25 /* setup window and/or fb */ 25 /* setup window and/or fb */
26 /* if (dithered) create backbuf */ 26 /* if (dithered) create backbuf */
27 Outbuf *buf; 27 Outbuf *buf;
28 int fb_fd = -1; 28 int fb_fd;
29 int fb_depth; 29 int fb_depth;
30 30
31 fb_depth = -1; 31 fb_depth = -1;
@@ -51,6 +51,11 @@ evas_fb_outbuf_fb_setup_fb(int w, int h, int rot, Outbuf_Depth depth, int vt_no,
51 return NULL; 51 return NULL;
52 } 52 }
53 fb_fd = fb_postinit(buf->priv.fb.fb); 53 fb_fd = fb_postinit(buf->priv.fb.fb);
54 if (fb_fd < 1)
55 {
56 free(buf);
57 return NULL;
58 }
54 59
55 if (rot == 0 || rot == 180) 60 if (rot == 0 || rot == 180)
56 { 61 {