annotate Renderer/test_render/texture.h @ 503:516d5c91d5b4 draft double-linked-task-list

comment
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 11 Oct 2009 19:35:33 +0900
parents 15bfacccde99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_TEXTURE
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_TEXTURE
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
4 #if 0 // もういらないっぽい OpenGL 使用時の遺産
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5 #include <SDL.h>
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
6 #include <SDL_opengl.h>
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord)
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
8 #endif
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
9
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10 struct texture_list {
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11 int t_w, t_h;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12 Uint32 *pixels_orig;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13 Uint32 *pixels;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 int scale_max;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
15 };
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
17 #endif