mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-12 06:52:33 +02:00
*Only* preserve report byte for feature reports. Oops.
This commit is contained in:
committed by
Sam Lantinga
parent
287e2573cd
commit
7ec70d39c4
@@ -727,7 +727,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() );
|
||||
|
||||
Reference in New Issue
Block a user