Module: wine
Branch: master
Commit: 1a1ffe60fdb0fa0e5e23e3c2b7247bfecbfcbae3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1a1ffe60fdb0fa0e5e23e3c2b…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Mon Aug 16 15:12:46 2010 +0200
dbghelp: Silence template related dwarf FIXMEs.
---
dlls/dbghelp/dwarf.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 4fec9cc..a0fcc12 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1300,6 +1300,8 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
/* FIXME: we need to handle nested udt definitions */
case DW_TAG_inheritance:
case DW_TAG_subprogram:
+ case DW_TAG_template_type_param:
+ case DW_TAG_template_value_param:
case DW_TAG_variable:
/* FIXME: some C++ related stuff */
break;
@@ -1771,6 +1773,8 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
/* the type referred to will be loaded when we need it, so skip it */
break;
case DW_TAG_unspecified_parameters:
+ case DW_TAG_template_type_param:
+ case DW_TAG_template_value_param:
/* FIXME: no support in dbghelp's internals so far */
break;
default:
Module: wine
Branch: master
Commit: b6637eb89f14ac65efedfa4fda191b52fd5d330e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6637eb89f14ac65efedfa4fd…
Author: Matteo Bruni <matteo.mystral(a)gmail.com>
Date: Sat Aug 7 22:37:11 2010 +0200
wined3d: Remove isInDraw hack from context_setup_target.
It is conceptually wrong and actually broken too (as the comment there
said). Just remove the hack now and properly fix any regression that
may come up later by explicitely acquiring the right context where
needed (so, in surface_internal_preload and its callees).
---
dlls/wined3d/context.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 72b84c9..d7f2cf3 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -2321,19 +2321,6 @@ static void context_setup_target(IWineD3DDeviceImpl *device,
if (wined3d_settings.offscreen_rendering_mode != ORM_FBO
&& old_render_offscreen && context->current_rt != target)
{
- BOOL oldInDraw = device->isInDraw;
-
- /* surface_internal_preload() requires a context to load the
- * texture, so it will call context_acquire(). Set isInDraw to true
- * to signal surface_internal_preload() that it has a context. */
-
- /* FIXME: This is just broken. There's no guarantee whatsoever
- * that the currently active context, if any, is appropriate for
- * reading back the render target. We should probably call
- * context_set_current(context) here and then rely on
- * context_acquire() doing the right thing. */
- device->isInDraw = TRUE;
-
/* Read the back buffer of the old drawable into the destination texture. */
if (context->current_rt->texture_name_srgb)
{
@@ -2345,8 +2332,6 @@ static void context_setup_target(IWineD3DDeviceImpl *device,
}
surface_modify_location(context->current_rt, SFLAG_INDRAWABLE, FALSE);
-
- device->isInDraw = oldInDraw;
}
}