Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/texture.cc @ 927:651251d56f36
remove garbage codes from viewerGL
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 30 Jul 2010 17:57:49 +0900 |
parents | 735f76483bb2 |
children |
line wrap: on
line diff
--- a/Renderer/Engine/texture.cc Thu Jul 29 22:56:58 2010 +0900 +++ b/Renderer/Engine/texture.cc Fri Jul 30 17:57:49 2010 +0900 @@ -16,9 +16,10 @@ return value; } -GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) +GLuint SDL_GL_LoadTexture(SDL_Surface *surface) { GLuint texture; + GLfloat texcoord[4]; int w, h; SDL_Surface *image; SDL_Rect area;