wined3d: Fix the default values for wined3d_settings.

This commit is contained in:
H. Verbeet 2006-09-26 20:31:41 +02:00 committed by Alexandre Julliard
parent 5bc0e91ddf
commit ba8a6a3c0c
2 changed files with 13 additions and 5 deletions

View File

@ -32,13 +32,19 @@ void (*wine_tsx11_lock_ptr)(void) = NULL;
void (*wine_tsx11_unlock_ptr)(void) = NULL;
/* When updating default value here, make sure to update winecfg as well,
* where appropriate. */
wined3d_settings_t wined3d_settings =
{
VS_HW, /* Hardware by default */
PS_NONE, /* Disabled by default */
VBO_HW, /* Hardware by default */
FALSE, /* Use of GLSL disabled by default */
RTL_AUTO /* Automatically determine best locking method */
VS_HW, /* Hardware by default */
PS_NONE, /* Disabled by default */
VBO_HW, /* Hardware by default */
FALSE, /* Use of GLSL disabled by default */
SHADER_ARB, /* Use ARB vertex programs, when available */
SHADER_ARB, /* Use ARB fragment programs, when available */
NP2_NONE, /* Box NPOT textures */
RTL_AUTO, /* Automatically determine best locking method */
64*1024*1024 /* 64MB texture memory by default */
};
WineD3DGlobalStatistics *wineD3DGlobalStatistics = NULL;

View File

@ -145,6 +145,8 @@ static WINED3DGLTYPE const glTypeLookup[D3DDECLTYPE_UNUSED] = {
#define RTL_TEXDRAW 3
#define RTL_TEXTEX 4
/* NOTE: When adding fields to this structure, make sure to update the default
* values in wined3d_main.c as well. */
typedef struct wined3d_settings_s {
/* vertex and pixel shader modes */
int vs_mode;