Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ba8a6a3c
Commit
ba8a6a3c
authored
Sep 26, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Sep 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix the default values for wined3d_settings.
parent
5bc0e91d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
wined3d_main.c
dlls/wined3d/wined3d_main.c
+7
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
No files found.
dlls/wined3d/wined3d_main.c
View file @
ba8a6a3c
...
...
@@ -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 */
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
;
...
...
dlls/wined3d/wined3d_private.h
View file @
ba8a6a3c
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment