view TaskManager/Test/test_render/texture.h @ 188:06f39635a9b0

メモりリーク箇所発見:TaskManager/Test/test_render/ChangeLog参照
author gongo@localhost.localdomain
date Thu, 08 Jan 2009 15:34:19 +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