aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-16 10:14:12 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-16 10:14:12 +0000
commit092b8ed76b3b7b98be1bc767430c5ea32dfe9481 (patch)
treeac100fec10390a7334750eec2f7cd06222d9d65b
parentFixed glGetIntegerv() in Direct Rendering mode for Evas GL (diff)
downloadefl-092b8ed76b3b7b98be1bc767430c5ea32dfe9481.tar.gz
evas: cleanup
SVN revision: 79372
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_api.c481
1 files changed, 25 insertions, 456 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_api.c b/src/modules/evas/engines/gl_common/evas_gl_api.c
index ef7b5a2699..d5b952af72 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api.c
@@ -131,9 +131,11 @@ _evgl_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, cons
#else
// FIXME: need to dlsym/getprocaddress for this
ERR("Binary Shader is not supported here yet.");
- return;
- n = binaryformat = length = 0;
- shaders = binary = 0;
+ (void)n;
+ (void)shaders;
+ (void)binaryformat;
+ (void)binary;
+ (void)length;
#endif
}
@@ -357,7 +359,7 @@ _evgl_glGetIntegerv(GLenum pname, GLint* params)
return;
}
- rsc=_evgl_tls_resource_get(ee);
+ rsc = _evgl_tls_resource_get(ee);
ctx = rsc->current_ctx;
// Only need to handle it if it's directly rendering to the window
@@ -365,7 +367,7 @@ _evgl_glGetIntegerv(GLenum pname, GLint* params)
{
img = eo_data_get(rsc->direct_img_obj, EVAS_OBJ_CLASS);
- if (pname==GL_SCISSOR_BOX)
+ if (pname == GL_SCISSOR_BOX)
{
if (ctx->scissor_upated)
{
@@ -374,7 +376,7 @@ _evgl_glGetIntegerv(GLenum pname, GLint* params)
}
}
- if (pname==GL_VIEWPORT)
+ if (pname == GL_VIEWPORT)
{
if (ctx->viewport_updated)
{
@@ -384,7 +386,7 @@ _evgl_glGetIntegerv(GLenum pname, GLint* params)
}
// If it hasn't been initialized yet, return img object size
- if ((pname==GL_SCISSOR_BOX) || (pname==GL_VIEWPORT))
+ if ((pname == GL_SCISSOR_BOX) || (pname == GL_VIEWPORT))
{
params[0] = 0;
params[1] = 0;
@@ -617,9 +619,6 @@ _evgld_glActiveTexture(GLenum texture)
EVGL_FUNC_BEGIN();
glActiveTexture(texture);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -629,21 +628,15 @@ _evgld_glAttachShader(GLuint program, GLuint shader)
EVGL_FUNC_BEGIN();
glAttachShader(program, shader);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glBindAttribLocation(GLuint program, GLuint index, const char* name)
+_evgld_glBindAttribLocation(GLuint program, GLuint idx, const char* name)
{
EVGL_FUNC_BEGIN();
- glBindAttribLocation(program, index, name);
+ glBindAttribLocation(program, idx, name);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -653,9 +646,6 @@ _evgld_glBindBuffer(GLenum target, GLuint buffer)
EVGL_FUNC_BEGIN();
glBindBuffer(target, buffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -666,10 +656,6 @@ _evgld_glBindFramebuffer(GLenum target, GLuint framebuffer)
_evgl_glBindFramebuffer(target, framebuffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -679,9 +665,6 @@ _evgld_glBindRenderbuffer(GLenum target, GLuint renderbuffer)
EVGL_FUNC_BEGIN();
glBindRenderbuffer(target, renderbuffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -691,9 +674,6 @@ _evgld_glBindTexture(GLenum target, GLuint texture)
EVGL_FUNC_BEGIN();
glBindTexture(target, texture);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -703,9 +683,6 @@ _evgld_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
EVGL_FUNC_BEGIN();
glBlendColor(red, green, blue, alpha);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -715,9 +692,6 @@ _evgld_glBlendEquation(GLenum mode)
EVGL_FUNC_BEGIN();
glBlendEquation(mode);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -727,9 +701,6 @@ _evgld_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
EVGL_FUNC_BEGIN();
glBlendEquationSeparate(modeRGB, modeAlpha);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -739,9 +710,6 @@ _evgld_glBlendFunc(GLenum sfactor, GLenum dfactor)
EVGL_FUNC_BEGIN();
glBlendFunc(sfactor, dfactor);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -751,9 +719,6 @@ _evgld_glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum
EVGL_FUNC_BEGIN();
glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -763,9 +728,6 @@ _evgld_glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usa
EVGL_FUNC_BEGIN();
glBufferData(target, size, data, usage);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -775,9 +737,6 @@ _evgld_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const vo
EVGL_FUNC_BEGIN();
glBufferSubData(target, offset, size, data);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -789,9 +748,6 @@ _evgld_glCheckFramebufferStatus(GLenum target)
EVGL_FUNC_BEGIN();
ret = glCheckFramebufferStatus(target);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -802,9 +758,6 @@ _evgld_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
EVGL_FUNC_BEGIN();
glClearColor(red, green, blue, alpha);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -816,9 +769,6 @@ _evgld_glClearDepthf(GLclampf depth)
_evgl_glClearDepthf(depth);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -828,9 +778,6 @@ _evgld_glClearStencil(GLint s)
EVGL_FUNC_BEGIN();
glClearStencil(s);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -840,9 +787,6 @@ _evgld_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp
EVGL_FUNC_BEGIN();
glColorMask(red, green, blue, alpha);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -852,9 +796,6 @@ _evgld_glCompileShader(GLuint shader)
EVGL_FUNC_BEGIN();
glCompileShader(shader);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -864,9 +805,6 @@ _evgld_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
EVGL_FUNC_BEGIN();
glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -876,9 +814,6 @@ _evgld_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLin
EVGL_FUNC_BEGIN();
glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -888,9 +823,6 @@ _evgld_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint
EVGL_FUNC_BEGIN();
glCopyTexImage2D(target, level, internalformat, x, y, width, height, border);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -900,9 +832,6 @@ _evgld_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoff
EVGL_FUNC_BEGIN();
glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -914,9 +843,6 @@ _evgld_glCreateProgram(void)
EVGL_FUNC_BEGIN();
ret = glCreateProgram();
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -928,9 +854,6 @@ _evgld_glCreateShader(GLenum type)
EVGL_FUNC_BEGIN();
ret = glCreateShader(type);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -941,9 +864,6 @@ _evgld_glCullFace(GLenum mode)
EVGL_FUNC_BEGIN();
glCullFace(mode);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -953,9 +873,6 @@ _evgld_glDeleteBuffers(GLsizei n, const GLuint* buffers)
EVGL_FUNC_BEGIN();
glDeleteBuffers(n, buffers);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -965,9 +882,6 @@ _evgld_glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers)
EVGL_FUNC_BEGIN();
glDeleteFramebuffers(n, framebuffers);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -977,9 +891,6 @@ _evgld_glDeleteProgram(GLuint program)
EVGL_FUNC_BEGIN();
glDeleteProgram(program);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -989,9 +900,6 @@ _evgld_glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers)
EVGL_FUNC_BEGIN();
glDeleteRenderbuffers(n, renderbuffers);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1001,9 +909,6 @@ _evgld_glDeleteShader(GLuint shader)
EVGL_FUNC_BEGIN();
glDeleteShader(shader);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1013,9 +918,6 @@ _evgld_glDeleteTextures(GLsizei n, const GLuint* textures)
EVGL_FUNC_BEGIN();
glDeleteTextures(n, textures);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1025,9 +927,6 @@ _evgld_glDepthFunc(GLenum func)
EVGL_FUNC_BEGIN();
glDepthFunc(func);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1037,9 +936,6 @@ _evgld_glDepthMask(GLboolean flag)
EVGL_FUNC_BEGIN();
glDepthMask(flag);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1051,9 +947,6 @@ _evgld_glDepthRangef(GLclampf zNear, GLclampf zFar)
_evgl_glDepthRangef(zNear, zFar);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1063,21 +956,15 @@ _evgld_glDetachShader(GLuint program, GLuint shader)
EVGL_FUNC_BEGIN();
glDetachShader(program, shader);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glDisableVertexAttribArray(GLuint index)
+_evgld_glDisableVertexAttribArray(GLuint idx)
{
EVGL_FUNC_BEGIN();
- glDisableVertexAttribArray(index);
+ glDisableVertexAttribArray(idx);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1087,9 +974,6 @@ _evgld_glDrawArrays(GLenum mode, GLint first, GLsizei count)
EVGL_FUNC_BEGIN();
glDrawArrays(mode, first, count);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1099,21 +983,15 @@ _evgld_glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indic
EVGL_FUNC_BEGIN();
glDrawElements(mode, count, type, indices);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glEnableVertexAttribArray(GLuint index)
+_evgld_glEnableVertexAttribArray(GLuint idx)
{
EVGL_FUNC_BEGIN();
- glEnableVertexAttribArray(index);
+ glEnableVertexAttribArray(idx);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1123,9 +1001,6 @@ _evgld_glFinish(void)
EVGL_FUNC_BEGIN();
glFinish();
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1135,9 +1010,6 @@ _evgld_glFlush(void)
EVGL_FUNC_BEGIN();
glFlush();
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1147,9 +1019,6 @@ _evgld_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum render
EVGL_FUNC_BEGIN();
glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1159,9 +1028,6 @@ _evgld_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget
EVGL_FUNC_BEGIN();
glFramebufferTexture2D(target, attachment, textarget, texture, level);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1171,49 +1037,37 @@ _evgld_glFrontFace(GLenum mode)
EVGL_FUNC_BEGIN();
glFrontFace(mode);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params)
+_evgld_glGetVertexAttribfv(GLuint idx, GLenum pname, GLfloat* params)
{
EVGL_FUNC_BEGIN();
- glGetVertexAttribfv(index, pname, params);
+ glGetVertexAttribfv(idx, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params)
+_evgld_glGetVertexAttribiv(GLuint idx, GLenum pname, GLint* params)
{
EVGL_FUNC_BEGIN();
- glGetVertexAttribiv(index, pname, params);
+ glGetVertexAttribiv(idx, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer)
+_evgld_glGetVertexAttribPointerv(GLuint idx, GLenum pname, void** pointer)
{
EVGL_FUNC_BEGIN();
- glGetVertexAttribPointerv(index, pname, pointer);
+ glGetVertexAttribPointerv(idx, pname, pointer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1223,9 +1077,6 @@ _evgld_glHint(GLenum target, GLenum mode)
EVGL_FUNC_BEGIN();
glHint(target, mode);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1235,9 +1086,6 @@ _evgld_glGenBuffers(GLsizei n, GLuint* buffers)
EVGL_FUNC_BEGIN();
glGenBuffers(n, buffers);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1247,9 +1095,6 @@ _evgld_glGenerateMipmap(GLenum target)
EVGL_FUNC_BEGIN();
glGenerateMipmap(target);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1259,9 +1104,6 @@ _evgld_glGenFramebuffers(GLsizei n, GLuint* framebuffers)
EVGL_FUNC_BEGIN();
glGenFramebuffers(n, framebuffers);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1271,9 +1113,6 @@ _evgld_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers)
EVGL_FUNC_BEGIN();
glGenRenderbuffers(n, renderbuffers);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1283,33 +1122,24 @@ _evgld_glGenTextures(GLsizei n, GLuint* textures)
EVGL_FUNC_BEGIN();
glGenTextures(n, textures);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name)
+_evgld_glGetActiveAttrib(GLuint program, GLuint idx, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name)
{
EVGL_FUNC_BEGIN();
- glGetActiveAttrib(program, index, bufsize, length, size, type, name);
+ glGetActiveAttrib(program, idx, bufsize, length, size, type, name);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
void
-_evgld_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name)
+_evgld_glGetActiveUniform(GLuint program, GLuint idx, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name)
{
EVGL_FUNC_BEGIN();
- glGetActiveUniform(program, index, bufsize, length, size, type, name);
+ glGetActiveUniform(program, idx, bufsize, length, size, type, name);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1319,9 +1149,6 @@ _evgld_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GL
EVGL_FUNC_BEGIN();
glGetAttachedShaders(program, maxcount, count, shaders);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1332,9 +1159,6 @@ _evgld_glGetAttribLocation(GLuint program, const char* name)
EVGL_FUNC_BEGIN();
ret = glGetAttribLocation(program, name);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1345,9 +1169,6 @@ _evgld_glGetBooleanv(GLenum pname, GLboolean* params)
EVGL_FUNC_BEGIN();
glGetBooleanv(pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1357,9 +1178,6 @@ _evgld_glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params)
EVGL_FUNC_BEGIN();
glGetBufferParameteriv(target, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1370,9 +1188,6 @@ _evgld_glGetError(void)
EVGL_FUNC_BEGIN();
ret = glGetError();
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1383,9 +1198,6 @@ _evgld_glGetFloatv(GLenum pname, GLfloat* params)
EVGL_FUNC_BEGIN();
glGetFloatv(pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1395,9 +1207,6 @@ _evgld_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, G
EVGL_FUNC_BEGIN();
glGetFramebufferAttachmentParameteriv(target, attachment, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1407,9 +1216,6 @@ _evgld_glGetProgramiv(GLuint program, GLenum pname, GLint* params)
EVGL_FUNC_BEGIN();
glGetProgramiv(program, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1419,9 +1225,6 @@ _evgld_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, cha
EVGL_FUNC_BEGIN();
glGetProgramInfoLog(program, bufsize, length, infolog);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1431,9 +1234,6 @@ _evgld_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params)
EVGL_FUNC_BEGIN();
glGetRenderbufferParameteriv(target, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1443,9 +1243,6 @@ _evgld_glGetShaderiv(GLuint shader, GLenum pname, GLint* params)
EVGL_FUNC_BEGIN();
glGetShaderiv(shader, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1455,9 +1252,6 @@ _evgld_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char*
EVGL_FUNC_BEGIN();
glGetShaderInfoLog(shader, bufsize, length, infolog);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1469,9 +1263,6 @@ _evgld_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint
_evgl_glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1481,9 +1272,6 @@ _evgld_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char*
EVGL_FUNC_BEGIN();
glGetShaderSource(shader, bufsize, length, source);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1501,9 +1289,6 @@ _evgld_glGetString(GLenum name)
#endif
ret = glGetString(name);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1514,9 +1299,6 @@ _evgld_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params)
EVGL_FUNC_BEGIN();
glGetTexParameterfv(target, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1526,9 +1308,6 @@ _evgld_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params)
EVGL_FUNC_BEGIN();
glGetTexParameteriv(target, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1538,9 +1317,6 @@ _evgld_glGetUniformfv(GLuint program, GLint location, GLfloat* params)
EVGL_FUNC_BEGIN();
glGetUniformfv(program, location, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1550,9 +1326,6 @@ _evgld_glGetUniformiv(GLuint program, GLint location, GLint* params)
EVGL_FUNC_BEGIN();
glGetUniformiv(program, location, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
int
@@ -1563,9 +1336,6 @@ _evgld_glGetUniformLocation(GLuint program, const char* name)
EVGL_FUNC_BEGIN();
ret = glGetUniformLocation(program, name);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1578,9 +1348,6 @@ _evgld_glIsBuffer(GLuint buffer)
EVGL_FUNC_BEGIN();
ret = glIsBuffer(buffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1593,9 +1360,6 @@ _evgld_glIsEnabled(GLenum cap)
EVGL_FUNC_BEGIN();
ret = glIsEnabled(cap);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1608,9 +1372,6 @@ _evgld_glIsFramebuffer(GLuint framebuffer)
EVGL_FUNC_BEGIN();
ret = glIsFramebuffer(framebuffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1622,9 +1383,6 @@ _evgld_glIsProgram(GLuint program)
EVGL_FUNC_BEGIN();
ret = glIsProgram(program);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1636,9 +1394,6 @@ _evgld_glIsRenderbuffer(GLuint renderbuffer)
EVGL_FUNC_BEGIN();
ret = glIsRenderbuffer(renderbuffer);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1650,9 +1405,6 @@ _evgld_glIsShader(GLuint shader)
EVGL_FUNC_BEGIN();
ret = glIsShader(shader);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1664,9 +1416,6 @@ _evgld_glIsTexture(GLuint texture)
EVGL_FUNC_BEGIN();
ret = glIsTexture(texture);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
return ret;
}
@@ -1677,9 +1426,6 @@ _evgld_glLineWidth(GLfloat width)
EVGL_FUNC_BEGIN();
glLineWidth(width);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1689,9 +1435,6 @@ _evgld_glLinkProgram(GLuint program)
EVGL_FUNC_BEGIN();
glLinkProgram(program);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1701,9 +1444,6 @@ _evgld_glPixelStorei(GLenum pname, GLint param)
EVGL_FUNC_BEGIN();
glPixelStorei(pname, param);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1713,9 +1453,6 @@ _evgld_glPolygonOffset(GLfloat factor, GLfloat units)
EVGL_FUNC_BEGIN();
glPolygonOffset(factor, units);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1727,9 +1464,6 @@ _evgld_glReleaseShaderCompiler(void)
_evgl_glReleaseShaderCompiler();
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1739,9 +1473,6 @@ _evgld_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width
EVGL_FUNC_BEGIN();
glRenderbufferStorage(target, internalformat, width, height);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1751,9 +1482,6 @@ _evgld_glSampleCoverage(GLclampf value, GLboolean invert)
EVGL_FUNC_BEGIN();
glSampleCoverage(value, invert);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1765,9 +1493,6 @@ _evgld_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, con
_evgl_glShaderBinary(n, shaders, binaryformat, binary, length);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1777,9 +1502,6 @@ _evgld_glShaderSource(GLuint shader, GLsizei count, const char** string, const G
EVGL_FUNC_BEGIN();
glShaderSource(shader, count, string, length);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1789,9 +1511,6 @@ _evgld_glStencilFunc(GLenum func, GLint ref, GLuint mask)
EVGL_FUNC_BEGIN();
glStencilFunc(func, ref, mask);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1801,9 +1520,6 @@ _evgld_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
EVGL_FUNC_BEGIN();
glStencilFuncSeparate(face, func, ref, mask);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1813,9 +1529,6 @@ _evgld_glStencilMask(GLuint mask)
EVGL_FUNC_BEGIN();
glStencilMask(mask);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1825,9 +1538,6 @@ _evgld_glStencilMaskSeparate(GLenum face, GLuint mask)
EVGL_FUNC_BEGIN();
glStencilMaskSeparate(face, mask);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1837,9 +1547,6 @@ _evgld_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
EVGL_FUNC_BEGIN();
glStencilOp(fail, zfail, zpass);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1849,9 +1556,6 @@ _evgld_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
EVGL_FUNC_BEGIN();
glStencilOpSeparate(face, fail, zfail, zpass);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1861,9 +1565,6 @@ _evgld_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei wi
EVGL_FUNC_BEGIN();
glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1873,9 +1574,6 @@ _evgld_glTexParameterf(GLenum target, GLenum pname, GLfloat param)
EVGL_FUNC_BEGIN();
glTexParameterf(target, pname, param);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1885,9 +1583,6 @@ _evgld_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params)
EVGL_FUNC_BEGIN();
glTexParameterfv(target, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1897,9 +1592,6 @@ _evgld_glTexParameteri(GLenum target, GLenum pname, GLint param)
EVGL_FUNC_BEGIN();
glTexParameteri(target, pname, param);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1909,9 +1601,6 @@ _evgld_glTexParameteriv(GLenum target, GLenum pname, const GLint* params)
EVGL_FUNC_BEGIN();
glTexParameteriv(target, pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1921,9 +1610,6 @@ _evgld_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
EVGL_FUNC_BEGIN();
glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1933,9 +1619,6 @@ _evgld_glUniform1f(GLint location, GLfloat x)
EVGL_FUNC_BEGIN();
glUniform1f(location, x);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1945,9 +1628,6 @@ _evgld_glUniform1fv(GLint location, GLsizei count, const GLfloat* v)
EVGL_FUNC_BEGIN();
glUniform1fv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1957,9 +1637,6 @@ _evgld_glUniform1i(GLint location, GLint x)
EVGL_FUNC_BEGIN();
glUniform1i(location, x);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1969,9 +1646,6 @@ _evgld_glUniform1iv(GLint location, GLsizei count, const GLint* v)
EVGL_FUNC_BEGIN();
glUniform1iv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1981,9 +1655,6 @@ _evgld_glUniform2f(GLint location, GLfloat x, GLfloat y)
EVGL_FUNC_BEGIN();
glUniform2f(location, x, y);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -1993,9 +1664,6 @@ _evgld_glUniform2fv(GLint location, GLsizei count, const GLfloat* v)
EVGL_FUNC_BEGIN();
glUniform2fv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2005,9 +1673,6 @@ _evgld_glUniform2i(GLint location, GLint x, GLint y)
EVGL_FUNC_BEGIN();
glUniform2i(location, x, y);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2017,9 +1682,6 @@ _evgld_glUniform2iv(GLint location, GLsizei count, const GLint* v)
EVGL_FUNC_BEGIN();
glUniform2iv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2029,9 +1691,6 @@ _evgld_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)
EVGL_FUNC_BEGIN();
glUniform3f(location, x, y, z);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2041,9 +1700,6 @@ _evgld_glUniform3fv(GLint location, GLsizei count, const GLfloat* v)
EVGL_FUNC_BEGIN();
glUniform3fv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2053,9 +1709,6 @@ _evgld_glUniform3i(GLint location, GLint x, GLint y, GLint z)
EVGL_FUNC_BEGIN();
glUniform3i(location, x, y, z);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2065,9 +1718,6 @@ _evgld_glUniform3iv(GLint location, GLsizei count, const GLint* v)
EVGL_FUNC_BEGIN();
glUniform3iv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2077,9 +1727,6 @@ _evgld_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
EVGL_FUNC_BEGIN();
glUniform4f(location, x, y, z, w);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2089,9 +1736,6 @@ _evgld_glUniform4fv(GLint location, GLsizei count, const GLfloat* v)
EVGL_FUNC_BEGIN();
glUniform4fv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2101,9 +1745,6 @@ _evgld_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)
EVGL_FUNC_BEGIN();
glUniform4i(location, x, y, z, w);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2113,9 +1754,6 @@ _evgld_glUniform4iv(GLint location, GLsizei count, const GLint* v)
EVGL_FUNC_BEGIN();
glUniform4iv(location, count, v);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2125,9 +1763,6 @@ _evgld_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, co
EVGL_FUNC_BEGIN();
glUniformMatrix2fv(location, count, transpose, value);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2137,9 +1772,6 @@ _evgld_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, co
EVGL_FUNC_BEGIN();
glUniformMatrix3fv(location, count, transpose, value);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2149,9 +1781,6 @@ _evgld_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, co
EVGL_FUNC_BEGIN();
glUniformMatrix4fv(location, count, transpose, value);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2161,9 +1790,6 @@ _evgld_glUseProgram(GLuint program)
EVGL_FUNC_BEGIN();
glUseProgram(program);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2173,9 +1799,6 @@ _evgld_glValidateProgram(GLuint program)
EVGL_FUNC_BEGIN();
glValidateProgram(program);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2185,9 +1808,6 @@ _evgld_glVertexAttrib1f(GLuint indx, GLfloat x)
EVGL_FUNC_BEGIN();
glVertexAttrib1f(indx, x);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2197,9 +1817,6 @@ _evgld_glVertexAttrib1fv(GLuint indx, const GLfloat* values)
EVGL_FUNC_BEGIN();
glVertexAttrib1fv(indx, values);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2209,9 +1826,6 @@ _evgld_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y)
EVGL_FUNC_BEGIN();
glVertexAttrib2f(indx, x, y);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2221,9 +1835,6 @@ _evgld_glVertexAttrib2fv(GLuint indx, const GLfloat* values)
EVGL_FUNC_BEGIN();
glVertexAttrib2fv(indx, values);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2233,9 +1844,6 @@ _evgld_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
EVGL_FUNC_BEGIN();
glVertexAttrib3f(indx, x, y, z);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2245,9 +1853,6 @@ _evgld_glVertexAttrib3fv(GLuint indx, const GLfloat* values)
EVGL_FUNC_BEGIN();
glVertexAttrib3fv(indx, values);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2257,9 +1862,6 @@ _evgld_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
EVGL_FUNC_BEGIN();
glVertexAttrib4f(indx, x, y, z, w);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2269,9 +1871,6 @@ _evgld_glVertexAttrib4fv(GLuint indx, const GLfloat* values)
EVGL_FUNC_BEGIN();
glVertexAttrib4fv(indx, values);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2281,9 +1880,6 @@ _evgld_glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
EVGL_FUNC_BEGIN();
glVertexAttribPointer(indx, size, type, normalized, stride, ptr);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2561,10 +2157,6 @@ _evgld_glClear(GLbitfield mask)
_evgl_glClear(mask);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2575,10 +2167,6 @@ _evgld_glEnable(GLenum cap)
_evgl_glEnable(cap);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2589,10 +2177,6 @@ _evgld_glDisable(GLenum cap)
_evgl_glDisable(cap);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2602,9 +2186,6 @@ _evgld_glGetIntegerv(GLenum pname, GLint* params)
EVGL_FUNC_BEGIN();
_evgl_glGetIntegerv(pname, params);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2615,10 +2196,6 @@ _evgld_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
_evgl_glReadPixels(x, y, width, height, format, type, pixels);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2629,10 +2206,6 @@ _evgld_glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
_evgl_glScissor(x, y, width, height);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
@@ -2643,10 +2216,6 @@ _evgld_glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
_evgl_glViewport(x, y, width, height);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
-
- goto finish;
-
-finish:
EVGL_FUNC_END();
}
//-------------------------------------------------------------//