mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
*Only* preserve report byte for feature reports. Oops.
(cherry picked from commit 7ec70d39c4)
This commit is contained in:
parent
b52e6d10ce
commit
2b7c3d8a6c
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ public:
|
|||
|
||||
size_t uBytesToCopy = 0;
|
||||
|
||||
if ( m_reportResponse.size() > 0 )
|
||||
if ( bFeature && m_reportResponse.size() > 0 )
|
||||
{
|
||||
// Make sure we preserve the report value if it isn't already in the report.
|
||||
bool bHasReportAlready = ( *pData == *m_reportResponse.data() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue