wined3d: Move the driver_quirk structure to directx.c.
This commit is contained in:
parent
50419daa11
commit
c475789bb6
|
@ -4203,6 +4203,13 @@ static void quirk_clip_varying(WineD3D_GL_Info *gl_info) {
|
||||||
gl_info->glsl_clip_varying = TRUE;
|
gl_info->glsl_clip_varying = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct driver_quirk
|
||||||
|
{
|
||||||
|
BOOL (*match)(const WineD3D_GL_Info *gl_info);
|
||||||
|
void (*apply)(WineD3D_GL_Info *gl_info);
|
||||||
|
const char *description;
|
||||||
|
};
|
||||||
|
|
||||||
struct driver_quirk quirk_table[] = {
|
struct driver_quirk quirk_table[] = {
|
||||||
{
|
{
|
||||||
match_ati_r300_to_500,
|
match_ati_r300_to_500,
|
||||||
|
|
|
@ -4016,10 +4016,4 @@ typedef struct _WineD3D_GL_Info {
|
||||||
} WineD3D_GL_Info;
|
} WineD3D_GL_Info;
|
||||||
#undef USE_GL_FUNC
|
#undef USE_GL_FUNC
|
||||||
|
|
||||||
struct driver_quirk {
|
|
||||||
BOOL (*match)(const WineD3D_GL_Info *gl_info);
|
|
||||||
void (*apply)(WineD3D_GL_Info *gl_info);
|
|
||||||
const char *description;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* __WINE_WINED3D_GL */
|
#endif /* __WINE_WINED3D_GL */
|
||||||
|
|
Loading…
Reference in New Issue