mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(XDK1) Buildfix
This commit is contained in:
parent
f205c998d4
commit
ccd556d99c
@ -891,8 +891,7 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info)
|
||||
/* Setup information for first pass. */
|
||||
#ifdef _XBOX
|
||||
/* TODO - properly implement this. */
|
||||
d3d_video_t *link_info = (d3d_video_t*)d3d;
|
||||
link_info->tex_w = link_info->tex_h =
|
||||
d3d->tex_w = d3d->tex_h =
|
||||
RARCH_SCALE_BASE * video_info->input_scale;
|
||||
|
||||
//d3d_deinit_chain(d3d);
|
||||
@ -1777,6 +1776,7 @@ static void d3d_set_menu_texture_frame(void *data,
|
||||
D3DLOCKED_RECT d3dlr;
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
|
||||
(void)d3dlr;
|
||||
(void)frame;
|
||||
(void)rgb32;
|
||||
(void)width;
|
||||
|
@ -152,6 +152,8 @@ typedef struct d3d_video
|
||||
unsigned last_height;
|
||||
#ifdef HAVE_D3D9
|
||||
LPDIRECT3DVERTEXDECLARATION vertex_decl;
|
||||
#else
|
||||
void *vertex_decl;
|
||||
#endif
|
||||
// RENDERCHAIN PASS -> INFO
|
||||
unsigned tex_w;
|
||||
|
@ -147,7 +147,7 @@ void texture_image_free(struct texture_image *img)
|
||||
return;
|
||||
|
||||
#ifdef _XBOX1
|
||||
d3d_vertex_buffer_free(img->vertex_buf);
|
||||
d3d_vertex_buffer_free(img->vertex_buf, NULL);
|
||||
d3d_texture_free(img->texture_buf);
|
||||
#endif
|
||||
if (img->pixels)
|
||||
|
Loading…
x
Reference in New Issue
Block a user