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
5eae622f
Commit
5eae622f
authored
Sep 29, 2005
by
Vincent Béron
Committed by
Alexandre Julliard
Sep 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't define some functions/variables if they won't be used after in
wined3d.
parent
8b84ac8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
device.c
dlls/wined3d/device.c
+6
-8
No files found.
dlls/wined3d/device.c
View file @
5eae622f
...
...
@@ -5418,10 +5418,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetDepthStencilSurface(IWineD3DDevice* iface
HRESULT
WINAPI
static
IWineD3DDeviceImpl_ActiveRender
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
*
RenderSurface
);
HRESULT
WINAPI
static
IWineD3DDeviceImpl_CleanRender
(
IWineD3DDevice
*
iface
,
IWineD3DSwapChainImpl
*
swapchain
);
HRESULT
WINAPI
static
IWineD3DDeviceImpl_FindGLContext
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
*
pSurface
,
glContext
**
context
);
HRESULT
WINAPI
IWineD3DDeviceImpl_SetRenderTarget
(
IWineD3DDevice
*
iface
,
DWORD
RenderTargetIndex
,
IWineD3DSurface
*
pRenderTarget
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
HRESULT
hr
=
D3D_OK
;
...
...
@@ -5521,6 +5517,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetDepthStencilSurface(IWineD3DDevice *iface,
}
#ifdef GL_VERSION_1_3
/* Internal functions not in DirectX */
/** TODO: move this off to the opengl context manager
*(the swapchain doesn't need to know anything about offscreen rendering!)
...
...
@@ -5602,6 +5599,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_FindGLContext(IWineD3DDevice *iface, IWineD3DS
else
return
E_OUTOFMEMORY
;
}
#endif
/** FIXME: This is currently used called whenever SetRenderTarget or SetStencilBuffer are called
* the functionality needs splitting up so that we don't do more than we should do.
...
...
@@ -5609,11 +5607,8 @@ HRESULT WINAPI IWineD3DDeviceImpl_FindGLContext(IWineD3DDevice *iface, IWineD3DS
******************************/
HRESULT
WINAPI
IWineD3DDeviceImpl_ActiveRender
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
*
RenderSurface
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSurface
*
StencilSurface
=
This
->
stencilBufferTarget
;
HRESULT
ret
=
D3DERR_INVALIDCALL
;
IWineD3DSurface
*
tmp
;
/**
* Currently only active for GLX >= 1.3
* for others versions we'll have to use GLXPixmaps
...
...
@@ -5631,6 +5626,9 @@ HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
*/
#if defined(GL_VERSION_1_3)
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSurface
*
StencilSurface
=
This
->
stencilBufferTarget
;
IWineD3DSurface
*
tmp
;
/** TODO: we only need to look up the configuration !IF! we are setting the target to a texture **/
GLXFBConfig
*
cfgs
=
NULL
;
int
nCfgs
=
0
;
...
...
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