Kaynağa Gözat

Make it easier to enable IME debug logs

Sam Lantinga 1 yıl önce
ebeveyn
işleme
3b8cb62283
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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>
 {