view Renderer/Engine/texture.h @ 606:32a7260fad2f

32bit/64bit ABI (64 bit is not tested yet). 64bit ABI requires 64bit SDL library etc.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 07 Nov 2009 18:05:52 +0900
parents 735f76483bb2
children 649e4cb84683
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