Parcourir la source

Make it easier to enable IME debug logs

Sam Lantinga il y a 1 mois
Parent
commit
3b8cb62283
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      src/video/cocoa/SDL_cocoakeyboard.m

+ 4 - 1
src/video/cocoa/SDL_cocoakeyboard.m

@@ -30,8 +30,11 @@
 
 #include <Carbon/Carbon.h>
 
-// #define DEBUG_IME NSLog
+#if 0
+#define DEBUG_IME NSLog
+#else
 #define DEBUG_IME(...)
+#endif
 
 @interface SDL3TranslatorResponder : NSView <NSTextInputClient>
 {