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
aec86b4e
Commit
aec86b4e
authored
Oct 09, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Silently ignore setting the 0 texture on gdi surfaces.
parent
c5055fb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
surface_gdi.c
dlls/wined3d/surface_gdi.c
+10
-1
No files found.
dlls/wined3d/surface_gdi.c
View file @
aec86b4e
...
...
@@ -710,7 +710,16 @@ IWineGDISurfaceImpl_PrivateSetup(IWineD3DSurface *iface)
void
WINAPI
IWineGDISurfaceImpl_SetGlTextureDesc
(
IWineD3DSurface
*
iface
,
UINT
textureName
,
int
target
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
FIXME
(
"(%p) : Should not be called on a GDI surface. textureName %u, target %i
\n
"
,
This
,
textureName
,
target
);
/* Ignore 0 textureName and target. D3D textures can be created with gdi surfaces as plain
* containers, but they're useless until the app creates a d3d device from a d3d point of
* view, it's not an implementation limitation. This avoids false warnings when the texture
* is destroyed and sets the description back to 0/0
*/
if
(
textureName
!=
0
||
target
!=
0
)
{
FIXME
(
"(%p) : Should not be called on a GDI surface. textureName %u, target %i
\n
"
,
This
,
textureName
,
target
);
DebugBreak
();
}
}
void
WINAPI
IWineGDISurfaceImpl_GetGlDesc
(
IWineD3DSurface
*
iface
,
glDescriptor
**
glDescription
)
{
...
...
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