File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,14 @@ type
243243 end ;
244244{ $ENDIF}
245245
246+ { $IFDEF SDL_VIDEO_DRIVER_KMSDRM}
247+ __WMINFO_KMSDRM = record
248+ dev_index: cint; { **< Device index (ex: the X in /dev/dri/cardX) *}
249+ drm_fd: cint; { **< DRM FD (unavailable on Vulkan windows) *}
250+ gbm_device: Pointer; // *gbm_dev {**< GBM device (unavailable on Vulkan windows) *}
251+ end ;
252+ { $ENDIF}
253+
246254
247255
248256
322330 { $IFDEF SDL_VIDEO_DRIVER_OS2}
323331 SDL_SYSWM_OS2: (os2: __WMINFO_OS2);
324332 { $ENDIF}
333+ { $IFDEF SDL_VIDEO_DRIVER_KMSDRM}
334+ SDL_SYSWM_KMSDRM: (kmsdrm: __WMINFO_KMSDRM);
335+ { $ENDIF}
325336 (* Ensure this union is always 64 bytes (8 64-bit pointers) *)
326337 SDL_SYSWM_UNKNOWN: (dummy: array [0 ..63 ] of Byte);
327338 end ;
You can’t perform that action at this time.
0 commit comments