mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(XDK) Update pt. 3
This commit is contained in:
parent
4990cc5a54
commit
20c9c6e240
@ -301,19 +301,19 @@ static bool xdk_renderchain_init(void *data,
|
|||||||
unsigned fmt
|
unsigned fmt
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
d3d_video_t *chain = (d3d_video_t*)data;
|
d3d_video_t *chain = (d3d_video_t*)data;
|
||||||
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)chain->dev;
|
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)chain->dev;
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
const video_info_t *info = (const video_info_t*)_info;
|
const video_info_t *info = (const video_info_t*)_info;
|
||||||
const LinkInfo *info = (const LinkInfo*)info_data;
|
const LinkInfo *link_info = (const LinkInfo*)info_data;
|
||||||
chain->pixel_size = fmt ? sizeof(uint32_t) : sizeof(uint16_t);
|
chain->pixel_size = fmt ? sizeof(uint32_t) : sizeof(uint16_t);
|
||||||
|
|
||||||
(void)dev_data;
|
(void)dev_data;
|
||||||
(void)final_viewport_data;
|
(void)final_viewport_data;
|
||||||
(void)fmt;
|
(void)fmt;
|
||||||
|
|
||||||
chain->tex_w = info->tex_w;
|
chain->tex_w = link_info->tex_w;
|
||||||
chain->tex_h = info->tex_h;
|
chain->tex_h = link_info->tex_h;
|
||||||
|
|
||||||
if (!renderchain_create_first_pass(chain, info))
|
if (!renderchain_create_first_pass(chain, info))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user