summaryrefslogtreecommitdiff
path: root/GLES_common/yagl_gles_array.h
diff options
context:
space:
mode:
authorjinhyung.jo <jinhyung.jo@samsung.com>2015-11-04 18:48:16 +0900
committerjinhyung.jo <jinhyung.jo@samsung.com>2015-11-04 19:11:04 +0900
commit233c1f2ea5be0b1d160b64856e33365e0ab58313 (patch)
tree308088a7221d82cf1b75789b93eb4e174bdb882e /GLES_common/yagl_gles_array.h
parent64c347e6e7743998df1d496a0680b11ba9a67a95 (diff)
downloademulator-yagl-233c1f2ea5be0b1d160b64856e33365e0ab58313.tar.gz
emulator-yagl-233c1f2ea5be0b1d160b64856e33365e0ab58313.tar.bz2
emulator-yagl-233c1f2ea5be0b1d160b64856e33365e0ab58313.zip
YaGL: Patches for the 64bit addressing
Tizen 3.0 supports a 64bit guest. However current yagl is implemented by assumed to use 32bit address. So modify the address related parts. The qemu device sources were also modifed. And remove the warnings: -Wint-to-pointer-cast/-Wpointer-to-int-cast/-Wunused-variables TODO: fix the warning - 'wl_client_add_resource' is deprecated Change-Id: Id3875eefa012240df34fffbc7d12f36c9584b4f1 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Diffstat (limited to 'GLES_common/yagl_gles_array.h')
-rw-r--r--GLES_common/yagl_gles_array.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/GLES_common/yagl_gles_array.h b/GLES_common/yagl_gles_array.h
index d496361..84e1fe5 100644
--- a/GLES_common/yagl_gles_array.h
+++ b/GLES_common/yagl_gles_array.h
@@ -102,8 +102,8 @@ struct yagl_gles_array
const GLvoid *ptr;
struct
{
- GLint offset;
- GLint actual_offset;
+ GLintptr offset;
+ GLintptr actual_offset;
};
};
@@ -136,7 +136,7 @@ int yagl_gles_array_update_vbo(struct yagl_gles_array *array,
GLboolean normalized,
GLsizei stride,
struct yagl_gles_buffer *vbo,
- GLint offset,
+ GLintptr offset,
int integer);
void yagl_gles_array_apply(struct yagl_gles_array *array);