From 7ecfc00965a3c33bfa0936c1dc182c169a1c3010 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 6 Nov 2009 15:13:29 +0000 Subject: [PATCH] fix - remove typedefs of gl stuff. not needed. SVN revision: 43488 --- .../engines/gl_common/evas_gl_texture.c | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/legacy/evas/src/modules/engines/gl_common/evas_gl_texture.c b/legacy/evas/src/modules/engines/gl_common/evas_gl_texture.c index e80d67cc35..a68c33f36a 100644 --- a/legacy/evas/src/modules/engines/gl_common/evas_gl_texture.c +++ b/legacy/evas/src/modules/engines/gl_common/evas_gl_texture.c @@ -83,27 +83,15 @@ _tex_format_index(GLuint format) } static void -_tex_2d(GLint internalformat, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type) +_tex_2d(int intfmt, int w, int h, int fmt, int type) { - glTexImage2D(GL_TEXTURE_2D, 0, internalformat, - width, height, 0, format, type, NULL); + glTexImage2D(GL_TEXTURE_2D, 0, intfmt, w, h, 0, fmt, type, NULL); } static void -_tex_sub_2d(GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const GLvoid *pixels) +_tex_sub_2d(int x, int y, int w, int h, int fmt, int type, const void *pix) { - glTexSubImage2D(GL_TEXTURE_2D, 0, - xoffset, yoffset, width, height, format, type, pixels); + glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, w, h, fmt, type, pix); } static Evas_GL_Texture_Pool *