view TaskManager/Test/test_render/texture.h @ 228:c254a2bd1b34

remove SceneGraph::data, add SceneGraph::coord_xyz, coord_tex, normal
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Thu, 12 Feb 2009 16:31:38 +0900
parents 559b48b69b76
children
line wrap: on
line source

#ifndef INCLUDED_TEXTURE
#define INCLUDED_TEXTURE

#if 0 // もういらないっぽい OpenGL 使用時の遺産
#include <SDL.h>
#include <SDL_opengl.h>
GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord)
#endif

struct texture_list {
    int t_w, t_h;
    Uint32 *pixels_orig;
    Uint32 *pixels;
    int scale_max;
};

#endif