소스 검색

Removed unused function

Sam Lantinga 3 년 전
부모
커밋
73927b0948
1개의 변경된 파일과 0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      src/joystick/hidapi/SDL_hidapijoystick.c

+ 0 - 6
src/joystick/hidapi/SDL_hidapijoystick.c

@@ -653,12 +653,6 @@ void HIDAPI_SetDeviceName(SDL_HIDAPI_Device *device, const char *name)
     }
 }
 
-void HIDAPI_SetDeviceVendor(SDL_HIDAPI_Device *device, Uint16 vendor_id)
-{
-    /* Don't set the device vendor ID directly, or we'll constantly re-enumerate this device */
-    SDL_SetJoystickGUIDVendor(&device->guid, vendor_id);
-}
-
 void HIDAPI_SetDeviceProduct(SDL_HIDAPI_Device *device, Uint16 vendor_id, Uint16 product_id)
 {
     /* Don't set the device product ID directly, or we'll constantly re-enumerate this device */