(D3D) Build fix
This commit is contained in:
parent
9dc80451de
commit
7f6084fca4
|
@ -110,6 +110,7 @@ typedef struct
|
||||||
LPDIRECT3DVERTEXBUFFER vert_buf;
|
LPDIRECT3DVERTEXBUFFER vert_buf;
|
||||||
} overlay_t;
|
} overlay_t;
|
||||||
|
|
||||||
|
#ifdef _XBOX
|
||||||
typedef struct Vertex
|
typedef struct Vertex
|
||||||
{
|
{
|
||||||
float x, y;
|
float x, y;
|
||||||
|
@ -119,6 +120,7 @@ typedef struct Vertex
|
||||||
#endif
|
#endif
|
||||||
float u, v;
|
float u, v;
|
||||||
} Vertex;
|
} Vertex;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct gl_shader_backend gl_shader_backend_t;
|
typedef struct gl_shader_backend gl_shader_backend_t;
|
||||||
|
|
||||||
|
@ -128,7 +130,9 @@ typedef struct d3d_video
|
||||||
{
|
{
|
||||||
const d3d_font_renderer_t *font_ctx;
|
const d3d_font_renderer_t *font_ctx;
|
||||||
const gfx_ctx_driver_t *ctx_driver;
|
const gfx_ctx_driver_t *ctx_driver;
|
||||||
|
#ifdef _XBOX
|
||||||
const gl_shader_backend_t *shader;
|
const gl_shader_backend_t *shader;
|
||||||
|
#endif
|
||||||
bool should_resize;
|
bool should_resize;
|
||||||
bool quitting;
|
bool quitting;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue