forked from enlightenment/efl
fix - remove typedefs of gl stuff. not needed.
SVN revision: 43488
This commit is contained in:
parent
3fa1906514
commit
7ecfc00965
|
@ -83,27 +83,15 @@ _tex_format_index(GLuint format)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_tex_2d(GLint internalformat,
|
_tex_2d(int intfmt, int w, int h, int fmt, int type)
|
||||||
GLsizei width,
|
|
||||||
GLsizei height,
|
|
||||||
GLenum format,
|
|
||||||
GLenum type)
|
|
||||||
{
|
{
|
||||||
glTexImage2D(GL_TEXTURE_2D, 0, internalformat,
|
glTexImage2D(GL_TEXTURE_2D, 0, intfmt, w, h, 0, fmt, type, NULL);
|
||||||
width, height, 0, format, type, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_tex_sub_2d(GLint xoffset,
|
_tex_sub_2d(int x, int y, int w, int h, int fmt, int type, const void *pix)
|
||||||
GLint yoffset,
|
|
||||||
GLsizei width,
|
|
||||||
GLsizei height,
|
|
||||||
GLenum format,
|
|
||||||
GLenum type,
|
|
||||||
const GLvoid *pixels)
|
|
||||||
{
|
{
|
||||||
glTexSubImage2D(GL_TEXTURE_2D, 0,
|
glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, w, h, fmt, type, pix);
|
||||||
xoffset, yoffset, width, height, format, type, pixels);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_GL_Texture_Pool *
|
static Evas_GL_Texture_Pool *
|
||||||
|
|
Loading…
Reference in New Issue