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
0f8b0d9d
Commit
0f8b0d9d
authored
May 21, 2017
by
Henri Verbeet
Committed by
Alexandre Julliard
May 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Clarify the status of ORM_BACKBUFFER.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e091c6e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
directx.c
dlls/wined3d/directx.c
+4
-0
wined3d_main.c
dlls/wined3d/wined3d_main.c
+3
-13
No files found.
dlls/wined3d/directx.c
View file @
0f8b0d9d
...
...
@@ -6547,6 +6547,10 @@ static BOOL wined3d_adapter_init(struct wined3d_adapter *adapter, UINT ordinal,
return
FALSE
;
}
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_BACKBUFFER
)
ERR_
(
winediag
)(
"You are using the backbuffer for offscreen rendering. "
"This is unsupported, and will be removed in a future version.
\n
"
);
wined3d_adapter_init_fb_cfgs
(
adapter
,
caps_gl_ctx
.
dc
);
/* We haven't found any suitable formats. This should only happen in
* case of GDI software rendering, which is pretty useless anyway. */
...
...
dlls/wined3d/wined3d_main.c
View file @
0f8b0d9d
...
...
@@ -231,19 +231,9 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
wined3d_settings
.
glslRequested
=
FALSE
;
}
}
if
(
!
get_config_key
(
hkey
,
appkey
,
"OffscreenRenderingMode"
,
buffer
,
size
)
)
{
if
(
!
strcmp
(
buffer
,
"backbuffer"
))
{
ERR_
(
winediag
)(
"Using the backbuffer for offscreen rendering.
\n
"
);
wined3d_settings
.
offscreen_rendering_mode
=
ORM_BACKBUFFER
;
}
else
if
(
!
strcmp
(
buffer
,
"fbo"
))
{
TRACE
(
"Using FBOs for offscreen rendering
\n
"
);
wined3d_settings
.
offscreen_rendering_mode
=
ORM_FBO
;
}
}
if
(
!
get_config_key
(
hkey
,
appkey
,
"OffscreenRenderingMode"
,
buffer
,
size
)
&&
!
strcmp
(
buffer
,
"backbuffer"
))
wined3d_settings
.
offscreen_rendering_mode
=
ORM_BACKBUFFER
;
if
(
!
get_config_key_dword
(
hkey
,
appkey
,
"VideoPciDeviceID"
,
&
tmpvalue
)
)
{
int
pci_device_id
=
tmpvalue
;
...
...
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