comparison src/video/qnxgf/SDL_gf_render.h @ 3139:7f684f249ec9

indent
author Sam Lantinga <slouken@libsdl.org>
date Sat, 23 May 2009 22:41:08 +0000
parents cad1aefa2ed9
children f7b03b6838cb
comparison
equal deleted inserted replaced
3125:d71d8ceda8b3 3139:7f684f249ec9
33 33
34 #define SDL_GF_MAX_SURFACES 3 34 #define SDL_GF_MAX_SURFACES 3
35 35
36 typedef struct SDL_RenderData 36 typedef struct SDL_RenderData
37 { 37 {
38 SDL_Window* window; /* SDL window type */ 38 SDL_Window *window; /* SDL window type */
39 SDL_bool enable_vsync; /* VSYNC flip synchronization enable */ 39 SDL_bool enable_vsync; /* VSYNC flip synchronization enable */
40 gf_surface_t surface[SDL_GF_MAX_SURFACES]; /* Surface handles */ 40 gf_surface_t surface[SDL_GF_MAX_SURFACES]; /* Surface handles */
41 gf_surface_info_t surface_info[SDL_GF_MAX_SURFACES]; /* Surface info */ 41 gf_surface_info_t surface_info[SDL_GF_MAX_SURFACES]; /* Surface info */
42 uint32_t surface_visible_idx; /* Index of visible surface */ 42 uint32_t surface_visible_idx; /* Index of visible surface */
43 uint32_t surface_render_idx; /* Index of render surface */ 43 uint32_t surface_render_idx; /* Index of render surface */
44 uint32_t surfaces_count; /* Amount of allocated surfaces */ 44 uint32_t surfaces_count; /* Amount of allocated surfaces */
45 } SDL_RenderData; 45 } SDL_RenderData;
46 46
47 typedef struct SDL_TextureData 47 typedef struct SDL_TextureData
48 { 48 {
49 gf_surface_t surface; 49 gf_surface_t surface;
50 gf_surface_info_t surface_info; 50 gf_surface_info_t surface_info;
51 } SDL_TextureData; 51 } SDL_TextureData;
52 52
53 extern void gf_addrenderdriver(_THIS); 53 extern void gf_addrenderdriver(_THIS);
54 54
55 #endif /* __SDL_GF_RENDER_H__ */ 55 #endif /* __SDL_GF_RENDER_H__ */