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
cbd555bb
Commit
cbd555bb
authored
Aug 10, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the unused vbo_mode setting.
parent
6794a570
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
wined3d_main.c
dlls/wined3d/wined3d_main.c
+0
-16
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/wined3d_main.c
View file @
cbd555bb
...
@@ -39,7 +39,6 @@ wined3d_settings_t wined3d_settings =
...
@@ -39,7 +39,6 @@ wined3d_settings_t wined3d_settings =
{
{
VS_HW
,
/* Hardware by default */
VS_HW
,
/* Hardware by default */
PS_HW
,
/* Hardware by default */
PS_HW
,
/* Hardware by default */
VBO_HW
,
/* Hardware by default */
TRUE
,
/* Use of GLSL enabled by default */
TRUE
,
/* Use of GLSL enabled by default */
ORM_FBO
,
/* Use FBOs to do offscreen rendering */
ORM_FBO
,
/* Use FBOs to do offscreen rendering */
RTL_AUTO
,
/* Automatically determine best locking method */
RTL_AUTO
,
/* Automatically determine best locking method */
...
@@ -196,19 +195,6 @@ static BOOL wined3d_init(HINSTANCE hInstDLL)
...
@@ -196,19 +195,6 @@ static BOOL wined3d_init(HINSTANCE hInstDLL)
wined3d_settings
.
ps_mode
=
PS_NONE
;
wined3d_settings
.
ps_mode
=
PS_NONE
;
}
}
}
}
if
(
!
get_config_key
(
hkey
,
appkey
,
"VertexBufferMode"
,
buffer
,
size
)
)
{
if
(
!
strcmp
(
buffer
,
"none"
))
{
TRACE
(
"Disable Vertex Buffer Hardware support
\n
"
);
wined3d_settings
.
vbo_mode
=
VBO_NONE
;
}
else
if
(
!
strcmp
(
buffer
,
"hardware"
))
{
TRACE
(
"Allow Vertex Buffer Hardware support
\n
"
);
wined3d_settings
.
vbo_mode
=
VBO_HW
;
}
}
if
(
!
get_config_key
(
hkey
,
appkey
,
"UseGLSL"
,
buffer
,
size
)
)
if
(
!
get_config_key
(
hkey
,
appkey
,
"UseGLSL"
,
buffer
,
size
)
)
{
{
if
(
!
strcmp
(
buffer
,
"disabled"
))
if
(
!
strcmp
(
buffer
,
"disabled"
))
...
@@ -314,8 +300,6 @@ static BOOL wined3d_init(HINSTANCE hInstDLL)
...
@@ -314,8 +300,6 @@ static BOOL wined3d_init(HINSTANCE hInstDLL)
TRACE
(
"Allow HW vertex shaders
\n
"
);
TRACE
(
"Allow HW vertex shaders
\n
"
);
if
(
wined3d_settings
.
ps_mode
==
PS_NONE
)
if
(
wined3d_settings
.
ps_mode
==
PS_NONE
)
TRACE
(
"Disable pixel shaders
\n
"
);
TRACE
(
"Disable pixel shaders
\n
"
);
if
(
wined3d_settings
.
vbo_mode
==
VBO_NONE
)
TRACE
(
"Disable Vertex Buffer Hardware support
\n
"
);
if
(
wined3d_settings
.
glslRequested
)
if
(
wined3d_settings
.
glslRequested
)
TRACE
(
"If supported by your system, GL Shading Language will be used
\n
"
);
TRACE
(
"If supported by your system, GL Shading Language will be used
\n
"
);
...
...
dlls/wined3d/wined3d_private.h
View file @
cbd555bb
...
@@ -280,7 +280,6 @@ typedef struct wined3d_settings_s {
...
@@ -280,7 +280,6 @@ typedef struct wined3d_settings_s {
/* vertex and pixel shader modes */
/* vertex and pixel shader modes */
int
vs_mode
;
int
vs_mode
;
int
ps_mode
;
int
ps_mode
;
int
vbo_mode
;
/* Ideally, we don't want the user to have to request GLSL. If the hardware supports GLSL,
/* Ideally, we don't want the user to have to request GLSL. If the hardware supports GLSL,
we should use it. However, until it's fully implemented, we'll leave it as a registry
we should use it. However, until it's fully implemented, we'll leave it as a registry
setting for developers. */
setting for developers. */
...
...
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