Lines Matching defs:texcoord
171 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord)
183 texcoord[0] = 0.0f; /* Min X */
184 texcoord[1] = 0.0f; /* Min Y */
185 texcoord[2] = (GLfloat)surface->w / w; /* Max X */
186 texcoord[3] = (GLfloat)surface->h / h; /* Max Y */
254 GLfloat texcoord[4];
265 cursor_texture = SDL_GL_LoadTexture(image, texcoord);
268 texMinX = texcoord[0];
269 texMinY = texcoord[1];
270 texMaxX = texcoord[2];
271 texMaxY = texcoord[3];
313 GLfloat texcoord[4];
324 global_texture = SDL_GL_LoadTexture(image, texcoord);
327 texMinX = texcoord[0];
328 texMinY = texcoord[1];
329 texMaxX = texcoord[2];
330 texMaxY = texcoord[3];