mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 22:43:41 +00:00
(D3D) Take out d3d.h dependency from render_chain_driver.h
This commit is contained in:
parent
e3ec1f890f
commit
3b40a8d1ec
@ -978,10 +978,11 @@ static void cg_d3d9_renderchain_convert_geometry(
|
||||
void *data, const void *info_data,
|
||||
unsigned *out_width, unsigned *out_height,
|
||||
unsigned width, unsigned height,
|
||||
D3DVIEWPORT *final_viewport)
|
||||
void *final_viewport_data)
|
||||
{
|
||||
const LinkInfo *info = (const LinkInfo*)info_data;
|
||||
cg_renderchain_t *chain = (cg_renderchain_t*)data;
|
||||
const LinkInfo *info = (const LinkInfo*)info_data;
|
||||
cg_renderchain_t *chain = (cg_renderchain_t*)data;
|
||||
D3DVIEWPORT *final_viewport = (D3DVIEWPORT*)final_viewport_data;
|
||||
|
||||
if (!chain || !info)
|
||||
return;
|
||||
|
@ -17,7 +17,6 @@
|
||||
#ifndef __D3D_RENDER_CHAIN_H
|
||||
#define __D3D_RENDER_CHAIN_H
|
||||
|
||||
#include "d3d.h"
|
||||
#include "../video_state_tracker.h"
|
||||
#include "../video_shader_parse.h"
|
||||
#include "../../libretro.h"
|
||||
@ -62,7 +61,7 @@ typedef struct renderchain_driver
|
||||
void (*convert_geometry)(void *data, const void *info_data,
|
||||
unsigned *out_width, unsigned *out_height,
|
||||
unsigned width, unsigned height,
|
||||
D3DVIEWPORT *final_viewport);
|
||||
void *final_viewport);
|
||||
const char *ident;
|
||||
} renderchain_driver_t;
|
||||
|
||||
|
@ -143,7 +143,7 @@ static void null_renderchain_convert_geometry(
|
||||
void *data, const void *info_data,
|
||||
unsigned *out_width, unsigned *out_height,
|
||||
unsigned width, unsigned height,
|
||||
D3DVIEWPORT *final_viewport)
|
||||
void *final_viewport_data)
|
||||
{
|
||||
(void)data;
|
||||
(void)info_data;
|
||||
@ -151,7 +151,7 @@ static void null_renderchain_convert_geometry(
|
||||
(void)out_height;
|
||||
(void)width;
|
||||
(void)height;
|
||||
(void)final_viewport;
|
||||
(void)final_viewport_data;
|
||||
}
|
||||
|
||||
renderchain_driver_t null_renderchain = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user