Commit 884a7e2e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: remove the "reusing OSD texture" message

parent 66e5c332
......@@ -1682,10 +1682,6 @@ static int Direct3D11MapSubpicture(vout_display_t *vd, int *subpicture_region_co
if (texDesc.Format == sys->d3dregion_format &&
texDesc.Width == r->fmt.i_visible_width &&
texDesc.Height == r->fmt.i_visible_height) {
#ifndef NDEBUG
msg_Dbg(vd, "Reusing %dx%d texture for OSD",
texDesc.Width, texDesc.Height);
#endif
(*region)[i] = cache;
memset(&sys->d3dregions[j], 0, sizeof(cache)); // do not reuse this cached value
break;
......
......@@ -1608,10 +1608,6 @@ static void Direct3D9ImportSubpicture(vout_display_t *vd,
cache->format == sys->d3dregion_format &&
cache->width == r->fmt.i_visible_width &&
cache->height == r->fmt.i_visible_height) {
#ifndef NDEBUG
msg_Dbg(vd, "Reusing %dx%d texture for OSD",
cache->width, cache->height);
#endif
*d3dr = *cache;
memset(cache, 0, sizeof(*cache));
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment