view Renderer/Engine/texture.h @ 860:649e4cb84683

Still on the way
author yutaka@localhost.localdomain
date Fri, 18 Jun 2010 01:30:06 +0900
parents 735f76483bb2
children 651251d56f36
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

typedef struct texture_list {
    int t_w;
    int t_h;
    uint32 *pixels_orig;
    uint32 *pixels;
    int scale_max;
    int pad[3]; // 12

} texture_list, *texture_list_ptr ; // 20 + pad(12) = 32

#endif