mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
(XDK) Update
This commit is contained in:
parent
8a5ad0819f
commit
6eb06007b0
@ -864,15 +864,11 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info)
|
||||
(void)out_height;
|
||||
|
||||
/* Setup information for first pass. */
|
||||
#ifdef _XBOX
|
||||
/* TODO - properly implement this. */
|
||||
d3d->tex_w = d3d->tex_h =
|
||||
RARCH_SCALE_BASE * video_info->input_scale;
|
||||
#else
|
||||
#ifndef _XBOX
|
||||
link_info.pass = &d3d->shader.pass[0];
|
||||
#endif
|
||||
link_info.tex_w = link_info.tex_h =
|
||||
video_info->input_scale * RARCH_SCALE_BASE;
|
||||
#endif
|
||||
|
||||
if (!renderchain_init_first(&d3d->renderchain_driver,
|
||||
&d3d->renderchain_data))
|
||||
|
@ -305,12 +305,15 @@ static bool xdk_renderchain_init(void *data,
|
||||
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)chain->dev;
|
||||
global_t *global = global_get_ptr();
|
||||
const video_info_t *info = (const video_info_t*)_info;
|
||||
const LinkInfo *info = (const LinkInfo*)info_data;
|
||||
chain->pixel_size = fmt ? sizeof(uint32_t) : sizeof(uint16_t);
|
||||
|
||||
(void)dev_data;
|
||||
(void)final_viewport_data;
|
||||
(void)info_data;
|
||||
(void)fmt;
|
||||
chain->pixel_size = fmt ? sizeof(uint32_t) : sizeof(uint16_t);
|
||||
|
||||
chain->tex_w = info->tex_w;
|
||||
chain->tex_h = info->tex_h;
|
||||
|
||||
if (!renderchain_create_first_pass(chain, info))
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user