Commit eb066a716c73f00169cd1bdc94c2c42456b7a8a1

Ryan C. Gordon 2019-10-15T14:17:32

include: Removed a FIXME comment. Using (1 << 14) instead of 0x4000 might be clearer for the maintainer, but it makes it harder to look up these flags when debugging an app. The value has to be written once by one person, the has to be read by tons of people over and over.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/SDL_video.h b/include/SDL_video.h
index 352afd4..c1bb752 100644
--- a/include/SDL_video.h
+++ b/include/SDL_video.h
@@ -96,7 +96,6 @@ typedef struct SDL_Window SDL_Window;
  */
 typedef enum
 {
-    /* !!! FIXME: change this to name = (1<<x). */
     SDL_WINDOW_FULLSCREEN = 0x00000001,         /**< fullscreen window */
     SDL_WINDOW_OPENGL = 0x00000002,             /**< window usable with OpenGL context */
     SDL_WINDOW_SHOWN = 0x00000004,              /**< window is visible */