SDL icon indicating copy to clipboard operation
SDL copied to clipboard

testcamera prints irrelevant debug message on exit (Windows)

Open madebr opened this issue 1 year ago • 1 comments

When closing testcamera on Windows, the following debug message is printed:

. In Accept Drag and Drop, window 2, disabled Full OLE IDropTarget

This is the origin: https://github.com/libsdl-org/SDL/blob/f95027e3d7a692b9324cfa53f371f8cfdb2575e3/src/video/windows/SDL_windowswindow.c#L2152-L2154

Is this message expected? testdropfile does not print any drop releated debug messages.

madebr avatar Aug 15 '24 10:08 madebr

I wonder why the debug log is being printed? Debug logs are disabled by default...

slouken avatar Aug 15 '24 14:08 slouken

Is it because testcamera has a SDL_SetLogPriorities(SDL_LOG_PRIORITY_VERBOSE); that testdropfile does not ?

Dragon-Baroque avatar Sep 13 '24 12:09 Dragon-Baroque

Is it because testcamera has a SDL_SetLogPriorities(SDL_LOG_PRIORITY_VERBOSE); that testdropfile does not ?

Yup!

slouken avatar Sep 19 '24 05:09 slouken