comparison 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
comparison
equal deleted inserted replaced
922:655e11f6e437 927:651251d56f36
14 value <<= 1; 14 value <<= 1;
15 } 15 }
16 return value; 16 return value;
17 } 17 }
18 18
19 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) 19 GLuint SDL_GL_LoadTexture(SDL_Surface *surface)
20 { 20 {
21 GLuint texture; 21 GLuint texture;
22 GLfloat texcoord[4];
22 int w, h; 23 int w, h;
23 SDL_Surface *image; 24 SDL_Surface *image;
24 SDL_Rect area; 25 SDL_Rect area;
25 Uint32 saved_flags; 26 Uint32 saved_flags;
26 Uint8 saved_alpha; 27 Uint8 saved_alpha;