aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@iki.fi>2011-06-17 13:45:42 +0300
committerRiku Voipio <riku.voipio@iki.fi>2011-06-17 13:45:42 +0300
commiteba35d07039d488ec5b877b29a79039e48d20867 (patch)
tree79424b8b1cc2377ad3853e61d19e0e3395cc33cf
parent5574b30dd4e3fc27ef5df0c7e4b82b97b02f0553 (diff)
downloadqemu-gles.tar.gz
Remove qword argument supportgles
The code causes compiler warning in newer compilers. None of the opengl es apis use qwords, so remove the code for now.
-rw-r--r--hw/gles2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/gles2.h b/hw/gles2.h
index 8549eb9373..8443a34348 100644
--- a/hw/gles2.h
+++ b/hw/gles2.h
@@ -402,6 +402,7 @@ static inline uint32_t gles2_arg_dword(gles2_State *s, gles2_decode_t *d)
#define gles2_arg_sdword (int32_t)gles2_arg_dword
+/* causes warning on possibly undefined *d
static inline uint64_t gles2_arg_qword(gles2_State *s, gles2_decode_t *d);
static inline uint64_t gles2_arg_qword(gles2_State *s, gles2_decode_t *d)
{
@@ -412,6 +413,7 @@ static inline uint64_t gles2_arg_qword(gles2_State *s, gles2_decode_t *d)
#endif
return qword;
}
+*/
static inline uint32_t gles2_arg_handle(gles2_State *s, gles2_decode_t *d);
static inline uint32_t gles2_arg_handle(gles2_State *s, gles2_decode_t *d)