projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d117c
)
evas/gl_drm: Fix warning
author
Gwanglim Lee
<gl77.lee@samsung.com>
Mon, 8 Dec 2014 10:07:27 +0000
(19:07 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Mon, 8 Dec 2014 10:07:27 +0000
(19:07 +0900)
Using int instead of uint32_t.
src/modules/evas/engines/gl_drm/evas_engine.c
patch
|
blob
|
history
diff --git
a/src/modules/evas/engines/gl_drm/evas_engine.c
b/src/modules/evas/engines/gl_drm/evas_engine.c
index 5155c4b34efbaca7482134b64947396baff90ff6..4c6bf7452b2ba438056e612c570c8002e018dce0 100644
(file)
--- a/
src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/
src/modules/evas/engines/gl_drm/evas_engine.c
@@
-1084,8
+1084,7
@@
eng_image_native_set(void *data, void *image, void *native)
if ((n = calloc(1, sizeof(Native))))
{
EGLint attribs[3];
- int yinvert = 1;
- uint32_t format;
+ int format, yinvert = 1;
glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EGL_TEXTURE_FORMAT, &format);
if ((format != EGL_TEXTURE_RGB) && (format != EGL_TEXTURE_RGBA))