mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Cg D3D9) Buildfix
This commit is contained in:
parent
39f45a17d2
commit
e1368a9209
@ -54,10 +54,6 @@ typedef struct d3d9_renderchain_driver
|
||||
bool (*render)(d3d9_video_t *d3d, state_tracker_t *tracker,
|
||||
const void *frame,
|
||||
unsigned width, unsigned height, unsigned pitch, unsigned rotation);
|
||||
void (*convert_geometry)(const struct LinkInfo *info,
|
||||
unsigned *out_width, unsigned *out_height,
|
||||
unsigned width, unsigned height,
|
||||
D3DVIEWPORT9 *final_viewport);
|
||||
bool (*read_viewport)(d3d9_video_t *d3d, uint8_t *buffer, bool is_idle);
|
||||
const char *ident;
|
||||
} d3d9_renderchain_driver_t;
|
||||
|
@ -802,7 +802,6 @@ static bool d3d9_cg_renderchain_create_first_pass(
|
||||
chain->prev.tex[i] = (LPDIRECT3DTEXTURE9)
|
||||
d3d9_texture_new(chain->dev, NULL,
|
||||
info->tex_w, info->tex_h, 1, 0, fmt,
|
||||
fmt,
|
||||
D3DPOOL_MANAGED, 0, 0, 0, NULL, NULL, false);
|
||||
|
||||
if (!chain->prev.tex[i])
|
||||
@ -1334,7 +1333,7 @@ static bool d3d9_cg_renderchain_render(
|
||||
|
||||
first_pass = (struct cg_pass*)&chain->passes->data[0];
|
||||
|
||||
d3d9_renderchain_convert_geometry(
|
||||
d3d9_convert_geometry(
|
||||
&first_pass->info,
|
||||
&out_width, &out_height,
|
||||
current_width, current_height, chain->final_viewport);
|
||||
|
Loading…
x
Reference in New Issue
Block a user