浏览代码

Removed unused function

(cherry picked from commit 73927b09480fd5d664f7077a70a8b6df318cdd2d)
Sam Lantinga 2 年之前
父节点
当前提交
3a5abee512
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      src/joystick/hidapi/SDL_hidapijoystick.c

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

@@ -657,12 +657,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)
 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 */
     /* Don't set the device product ID directly, or we'll constantly re-enumerate this device */