Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/texture.h @ 168:cf2aa37d2fe7
Delete DrawSpan::get_pixel().
author | gongo@localhost.localdomain |
---|---|
date | Thu, 11 Dec 2008 10:38:28 +0900 |
parents | d5cca23ed50c |
children | dc68bc5c9e41 |
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