Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0cb6f287
Commit
0cb6f287
authored
Oct 20, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the useless "isPBuffer" bitfield in struct wined3d_context.
parent
4dbf1c49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
context.c
dlls/wined3d/context.c
+1
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/context.c
View file @
0cb6f287
...
...
@@ -698,7 +698,7 @@ static void context_destroy_gl_resources(struct wined3d_context *context)
ERR
(
"Failed to disable GL context.
\n
"
);
}
if
(
context
->
isPB
uffer
)
if
(
context
->
pb
uffer
)
{
GL_EXTCALL
(
wglReleasePbufferDCARB
(
context
->
pbuffer
,
context
->
hdc
));
GL_EXTCALL
(
wglDestroyPbufferARB
(
context
->
pbuffer
));
...
...
@@ -1250,7 +1250,6 @@ struct wined3d_context *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceI
ret
->
gl_info
=
&
This
->
adapter
->
gl_info
;
ret
->
surface
=
(
IWineD3DSurface
*
)
target
;
ret
->
current_rt
=
(
IWineD3DSurface
*
)
target
;
ret
->
isPBuffer
=
create_pbuffer
;
ret
->
tid
=
GetCurrentThreadId
();
if
(
This
->
shader_backend
->
shader_dirtifyable_constants
((
IWineD3DDevice
*
)
This
))
{
/* Create the dirty constants array and initialize them to dirty */
...
...
dlls/wined3d/wined3d_private.h
View file @
0cb6f287
...
...
@@ -1051,7 +1051,6 @@ struct wined3d_context
WORD
last_was_blit
:
1
;
WORD
last_was_ckey
:
1
;
WORD
fog_coord
:
1
;
WORD
isPBuffer
:
1
;
WORD
fog_enabled
:
1
;
WORD
num_untracked_materials
:
2
;
/* Max value 2 */
WORD
current
:
1
;
...
...
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