Commit ad3c03d5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

D3D vout: don't spam too much the messages in release mode

parent 734fe5c6
...@@ -1221,8 +1221,10 @@ static void Direct3DImportSubpicture(vout_display_t *vd, ...@@ -1221,8 +1221,10 @@ static void Direct3DImportSubpicture(vout_display_t *vd,
cache->format == sys->d3dregion_format && cache->format == sys->d3dregion_format &&
cache->width == r->fmt.i_visible_width && cache->width == r->fmt.i_visible_width &&
cache->height == r->fmt.i_visible_height) { cache->height == r->fmt.i_visible_height) {
#ifndef NDEBUG
msg_Dbg(vd, "Reusing %dx%d texture for OSD", msg_Dbg(vd, "Reusing %dx%d texture for OSD",
cache->width, cache->height); cache->width, cache->height);
#endif
*d3dr = *cache; *d3dr = *cache;
memset(cache, 0, sizeof(*cache)); memset(cache, 0, sizeof(*cache));
} }
......
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