forked from enlightenment/efl
Evas (software_generic): Add UNUSED for params that are not used
(where missing). Remove unused variables. Comment out functions that were defined but not used. SVN revision: 67066
This commit is contained in:
parent
ebbf531b63
commit
0b6f56aa34
|
@ -265,9 +265,9 @@ static void (*_sym_glVertexAttribPointer) (GLuint indx, GL
|
||||||
static void (*_sym_glViewport) (GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
|
static void (*_sym_glViewport) (GLint x, GLint y, GLsizei width, GLsizei height) = NULL;
|
||||||
|
|
||||||
// GLES Extensions...
|
// GLES Extensions...
|
||||||
static void (*_sym_glGetProgramBinary) (GLuint a, GLsizei b, GLsizei* c, GLenum* d, void* e) = NULL;
|
/* static void (*_sym_glGetProgramBinary) (GLuint a, GLsizei b, GLsizei* c, GLenum* d, void* e) = NULL; */
|
||||||
static void (*_sym_glProgramBinary) (GLuint a, GLenum b, const void* c, GLint d) = NULL;
|
/* static void (*_sym_glProgramBinary) (GLuint a, GLenum b, const void* c, GLint d) = NULL; */
|
||||||
static void (*_sym_glProgramParameteri) (GLuint a, GLuint b, GLint d) = NULL;
|
/* static void (*_sym_glProgramParameteri) (GLuint a, GLuint b, GLint d) = NULL; */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1593,7 +1593,7 @@ eng_gl_make_current(void *data __UNUSED__, void *surface, void *context)
|
||||||
|
|
||||||
// FIXME!!! Implement later
|
// FIXME!!! Implement later
|
||||||
static void *
|
static void *
|
||||||
eng_gl_string_query(void *data, int name)
|
eng_gl_string_query(void *data __UNUSED__, int name __UNUSED__)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -2469,13 +2469,7 @@ patch_gles_shader(const char *source, int length, int *patched_len)
|
||||||
static void
|
static void
|
||||||
evgl_glShaderSource(GLuint shader, GLsizei count, const char** string, const GLint* length)
|
evgl_glShaderSource(GLuint shader, GLsizei count, const char** string, const GLint* length)
|
||||||
{
|
{
|
||||||
char *newstr;
|
int i = 0, len = 0;
|
||||||
char *srcbk;
|
|
||||||
char *token = NULL;
|
|
||||||
char *saveptr;
|
|
||||||
int i = 0;
|
|
||||||
int len = 0;
|
|
||||||
int token_len = 0;
|
|
||||||
|
|
||||||
char **s = malloc(count * sizeof(char*));
|
char **s = malloc(count * sizeof(char*));
|
||||||
GLint *l = malloc(count * sizeof(GLint));
|
GLint *l = malloc(count * sizeof(GLint));
|
||||||
|
@ -2548,7 +2542,7 @@ evgl_glReleaseShaderCompiler(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evgl_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLsizei length)
|
evgl_glShaderBinary(GLsizei n __UNUSED__, const GLuint* shaders __UNUSED__, GLenum binaryformat __UNUSED__, const void* binary __UNUSED__, GLsizei length __UNUSED__)
|
||||||
{
|
{
|
||||||
// FIXME: need to dlsym/getprocaddress for this
|
// FIXME: need to dlsym/getprocaddress for this
|
||||||
DBG("Not supported in Desktop GL");
|
DBG("Not supported in Desktop GL");
|
||||||
|
|
Loading…
Reference in New Issue