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
9f90225f
Commit
9f90225f
authored
May 05, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
May 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the wined3d_settings_t typedef.
parent
493af7e5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
wined3d_main.c
dlls/wined3d/wined3d_main.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+9
-8
No files found.
dlls/wined3d/wined3d_main.c
View file @
9f90225f
...
...
@@ -62,7 +62,7 @@ static CRITICAL_SECTION wined3d_cs = {&wined3d_cs_debug, -1, 0, 0, 0, 0};
/* When updating default value here, make sure to update winecfg as well,
* where appropriate. */
wined3d_settings_t
wined3d_settings
=
struct
wined3d_settings
wined3d_settings
=
{
VS_HW
,
/* Hardware by default */
PS_HW
,
/* Hardware by default */
...
...
dlls/wined3d/wined3d_private.h
View file @
9f90225f
...
...
@@ -254,26 +254,27 @@ static inline float float_24_to_32(DWORD in)
/* 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 */
struct
wined3d_settings
{
/* vertex and pixel shader modes */
int
vs_mode
;
int
ps_mode
;
/* 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 registr
y
setting for developers. */
/* 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 full
y
* implemented, we'll leave it as a registry
setting for developers. */
BOOL
glslRequested
;
int
offscreen_rendering_mode
;
int
rendertargetlock_mode
;
unsigned
short
pci_vendor_id
;
unsigned
short
pci_device_id
;
/* Memory tracking and object counting
*/
/* Memory tracking and object counting.
*/
unsigned
int
emulated_textureram
;
char
*
logo
;
int
allow_multisampling
;
BOOL
strict_draw_ordering
;
}
wined3d_settings_t
;
};
extern
wined3d_settings_t
wined3d_settings
DECLSPEC_HIDDEN
;
extern
struct
wined3d_settings
wined3d_settings
DECLSPEC_HIDDEN
;
typedef
enum
_WINED3DSAMPLER_TEXTURE_TYPE
{
...
...
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