Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/texture.h @ 166:8831c058a1ff draft
fix
author | gongo@localhost.localdomain |
---|---|
date | Tue, 09 Dec 2008 11:53:51 +0900 |
parents | 1f7c46e52ab9 |
children | 17f2138b9d52 |
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 #define S_X 128 #define SSIZE 128*128 #define SS64 64*64 #define SS32 32*32 typedef struct { Uint32 tx128[SSIZE]; Uint32 tx64[SS64]; Uint32 tx32[SS32]; Uint32 block[SSIZE+SS64+SS32]; } Sptx; #if 0 typedef struct Texture{ int px, py; Sptx s[100]; }; #endif struct texture_list { int t_w, t_h; Uint32 *pixels_orig; Uint32 *pixels; }; #endif