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
d7b08761
Commit
d7b08761
authored
Oct 29, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some unused GLINFO_LOCATION definitions.
parent
78452960
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1 addition
and
23 deletions
+1
-23
baseshader.c
dlls/wined3d/baseshader.c
+1
-2
cubetexture.c
dlls/wined3d/cubetexture.c
+0
-6
pixelshader.c
dlls/wined3d/pixelshader.c
+0
-2
stateblock.c
dlls/wined3d/stateblock.c
+0
-1
texture.c
dlls/wined3d/texture.c
+0
-6
vertexdeclaration.c
dlls/wined3d/vertexdeclaration.c
+0
-2
vertexshader.c
dlls/wined3d/vertexshader.c
+0
-2
volumetexture.c
dlls/wined3d/volumetexture.c
+0
-2
No files found.
dlls/wined3d/baseshader.c
View file @
d7b08761
...
...
@@ -1391,7 +1391,6 @@ static HRESULT shader_none_alloc(IWineD3DDevice *iface) {return WINED3D_OK;}
static
void
shader_none_free
(
IWineD3DDevice
*
iface
)
{}
static
BOOL
shader_none_dirty_const
(
IWineD3DDevice
*
iface
)
{
return
FALSE
;}
#define GLINFO_LOCATION (*gl_info)
static
void
shader_none_get_caps
(
WINED3DDEVTYPE
devtype
,
const
struct
wined3d_gl_info
*
gl_info
,
struct
shader_caps
*
pCaps
)
{
...
...
@@ -1400,7 +1399,7 @@ static void shader_none_get_caps(WINED3DDEVTYPE devtype,
pCaps
->
PixelShaderVersion
=
0
;
pCaps
->
PixelShader1xMaxValue
=
0
.
0
f
;
}
#undef GLINFO_LOCATION
static
BOOL
shader_none_color_fixup_supported
(
struct
color_fixup_desc
fixup
)
{
if
(
TRACE_ON
(
d3d_shader
)
&&
TRACE_ON
(
d3d
))
...
...
dlls/wined3d/cubetexture.c
View file @
d7b08761
...
...
@@ -27,8 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_texture
);
#define GLINFO_LOCATION (*gl_info)
static
void
cubetexture_internal_preload
(
IWineD3DBaseTexture
*
iface
,
enum
WINED3DSRGB
srgb
)
{
/* Override the IWineD3DResource Preload method. */
...
...
@@ -141,14 +139,10 @@ static void cubetexture_cleanup(IWineD3DCubeTextureImpl *This)
basetexture_cleanup
((
IWineD3DBaseTexture
*
)
This
);
}
#undef GLINFO_LOCATION
/* *******************************************
IWineD3DCubeTexture IUnknown parts follow
******************************************* */
#define GLINFO_LOCATION This->resource.wineD3DDevice->adapter->gl_info
static
HRESULT
WINAPI
IWineD3DCubeTextureImpl_QueryInterface
(
IWineD3DCubeTexture
*
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IWineD3DCubeTextureImpl
*
This
=
(
IWineD3DCubeTextureImpl
*
)
iface
;
...
...
dlls/wined3d/pixelshader.c
View file @
d7b08761
...
...
@@ -33,8 +33,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_shader
);
#define GLINFO_LOCATION ((IWineD3DDeviceImpl *) This->baseShader.device)->adapter->gl_info
static
HRESULT
WINAPI
IWineD3DPixelShaderImpl_QueryInterface
(
IWineD3DPixelShader
*
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
TRACE
(
"iface %p, riid %s, ppobj %p
\n
"
,
iface
,
debugstr_guid
(
riid
),
ppobj
);
...
...
dlls/wined3d/stateblock.c
View file @
d7b08761
...
...
@@ -26,7 +26,6 @@
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
#define GLINFO_LOCATION This->wineD3DDevice->adapter->gl_info
static
const
DWORD
pixel_states_render
[]
=
{
...
...
dlls/wined3d/texture.c
View file @
d7b08761
...
...
@@ -27,8 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_texture
);
#define GLINFO_LOCATION (*gl_info)
static
void
texture_internal_preload
(
IWineD3DBaseTexture
*
iface
,
enum
WINED3DSRGB
srgb
)
{
/* Override the IWineD3DResource PreLoad method. */
...
...
@@ -128,14 +126,10 @@ static void texture_cleanup(IWineD3DTextureImpl *This)
basetexture_cleanup
((
IWineD3DBaseTexture
*
)
This
);
}
#undef GLINFO_LOCATION
/* *******************************************
IWineD3DTexture IUnknown parts follow
******************************************* */
#define GLINFO_LOCATION This->resource.wineD3DDevice->adapter->gl_info
static
HRESULT
WINAPI
IWineD3DTextureImpl_QueryInterface
(
IWineD3DTexture
*
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IWineD3DTextureImpl
*
This
=
(
IWineD3DTextureImpl
*
)
iface
;
...
...
dlls/wined3d/vertexdeclaration.c
View file @
d7b08761
...
...
@@ -27,8 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_decl
);
#define GLINFO_LOCATION This->wineD3DDevice->adapter->gl_info
static
void
dump_wined3dvertexelement
(
const
WINED3DVERTEXELEMENT
*
element
)
{
TRACE
(
" format: %s (%#x)
\n
"
,
debug_d3dformat
(
element
->
format
),
element
->
format
);
TRACE
(
" input_slot: %u
\n
"
,
element
->
input_slot
);
...
...
dlls/wined3d/vertexshader.c
View file @
d7b08761
...
...
@@ -33,8 +33,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_shader
);
#define GLINFO_LOCATION ((IWineD3DDeviceImpl *)This->baseShader.device)->adapter->gl_info
static
void
vshader_set_limits
(
IWineD3DVertexShaderImpl
*
This
)
{
DWORD
shader_version
=
WINED3D_SHADER_VERSION
(
This
->
baseShader
.
reg_maps
.
shader_version
.
major
,
...
...
dlls/wined3d/volumetexture.c
View file @
d7b08761
...
...
@@ -103,8 +103,6 @@ static void volumetexture_cleanup(IWineD3DVolumeTextureImpl *This)
IWineD3DTexture IUnknown parts follow
******************************************* */
#define GLINFO_LOCATION This->resource.wineD3DDevice->adapter->gl_info
static
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_QueryInterface
(
IWineD3DVolumeTexture
*
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IWineD3DVolumeTextureImpl
*
This
=
(
IWineD3DVolumeTextureImpl
*
)
iface
;
...
...
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