view Renderer/Engine/texture.h @ 541:1a31b8820a4d draft

Cerium Rendering Library
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 10:17:09 +0900
parents 3bc98f6d31ff
children 63a08f3a468a
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