Mercurial > hg > Game > Cerium
annotate TaskManager/Test/test_render/texture.h @ 203:1eba8570808c draft
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | 2c7d9057dd5d |
children |
rev | line source |
---|---|
141 | 1 #ifndef INCLUDED_TEXTURE |
2 #define INCLUDED_TEXTURE | |
3 | |
4 #if 0 // もういらないっぽい OpenGL 使用時の遺産 | |
109 | 5 #include <SDL.h> |
6 #include <SDL_opengl.h> | |
141 | 7 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) |
8 #endif | |
109 | 9 |
141 | 10 struct texture_list { |
174
2c7d9057dd5d
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
11 int t_w, t_h; |
2c7d9057dd5d
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
12 Uint32 *pixels_orig; |
2c7d9057dd5d
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
13 Uint32 *pixels; |
2c7d9057dd5d
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
14 int scale_max; |
141 | 15 }; |
16 | |
17 #endif |