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
1d97f52f
Commit
1d97f52f
authored
Jan 02, 2003
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some clean-ups after the DrawPrimitive rewrite.
parent
3429c3cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+0
-2
mesa_private.h
dlls/ddraw/mesa_private.h
+0
-12
No files found.
dlls/ddraw/d3ddevice/mesa.c
View file @
1d97f52f
...
...
@@ -302,8 +302,6 @@ GL_IDirect3DDeviceImpl_7_3T_2T_1T_Release(LPDIRECT3DDEVICE7 iface)
if
(
This
->
current_texture
[
0
]
!=
NULL
)
IDirect3DTexture2_Release
(
ICOM_INTERFACE
(
This
->
current_texture
[
0
],
IDirect3DTexture2
));
if
(
glThis
->
handler
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
ENTER_GL
();
glXDestroyContext
(
glThis
->
display
,
glThis
->
gl_context
);
LEAVE_GL
();
...
...
dlls/ddraw/mesa_private.h
View file @
1d97f52f
...
...
@@ -99,12 +99,6 @@ typedef struct IDirect3DTextureGLImpl
void
(
*
unlock_update
)(
IDirectDrawSurfaceImpl
*
This
,
LPCRECT
pRect
);
}
IDirect3DTextureGLImpl
;
typedef
struct
{
int
offset
;
int
extra
;
void
(
*
handler
)(
char
*
vertex
,
int
offset
,
int
extra
);
}
D3DFVF_GENERIC
;
typedef
struct
IDirect3DDeviceGLImpl
{
struct
IDirect3DDeviceImpl
parent
;
...
...
@@ -118,12 +112,6 @@ typedef struct IDirect3DDeviceGLImpl
BOOLEAN
last_vertices_transformed
;
BOOLEAN
last_vertices_lit
;
/* This is to optimize a little bit the 'slow generic' path for the DrawPrimitive stuff */
D3DFVF_GENERIC
*
handler
;
DWORD
last_vertex_format
;
DWORD
last_vertex_format_size
;
DWORD
last_vertex_format_elements
;
D3DMATRIX
*
world_mat
;
D3DMATRIX
*
view_mat
;
D3DMATRIX
*
proj_mat
;
...
...
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