Commit ba8a6a3c authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Fix the default values for wined3d_settings.

parent 5bc0e91d
...@@ -32,13 +32,19 @@ void (*wine_tsx11_lock_ptr)(void) = NULL; ...@@ -32,13 +32,19 @@ void (*wine_tsx11_lock_ptr)(void) = NULL;
void (*wine_tsx11_unlock_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 = wined3d_settings_t wined3d_settings =
{ {
VS_HW, /* Hardware by default */ VS_HW, /* Hardware by default */
PS_NONE, /* Disabled by default */ PS_NONE, /* Disabled by default */
VBO_HW, /* Hardware by default */ VBO_HW, /* Hardware by default */
FALSE, /* Use of GLSL disabled by default */ FALSE, /* Use of GLSL disabled by default */
RTL_AUTO /* Automatically determine best locking method */ 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; WineD3DGlobalStatistics *wineD3DGlobalStatistics = NULL;
......
...@@ -145,6 +145,8 @@ static WINED3DGLTYPE const glTypeLookup[D3DDECLTYPE_UNUSED] = { ...@@ -145,6 +145,8 @@ static WINED3DGLTYPE const glTypeLookup[D3DDECLTYPE_UNUSED] = {
#define RTL_TEXDRAW 3 #define RTL_TEXDRAW 3
#define RTL_TEXTEX 4 #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 { typedef struct wined3d_settings_s {
/* vertex and pixel shader modes */ /* vertex and pixel shader modes */
int vs_mode; int vs_mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment