diff include/SDL_video.h @ 2208:b03710fb0333

Fixed bug #467 Remove trailing commas from enums
author Sam Lantinga <slouken@libsdl.org>
date Sun, 22 Jul 2007 13:22:47 +0000
parents 55c7932d1fdb
children 926294b2bb4e
line wrap: on
line diff
--- a/include/SDL_video.h	Sat Jul 21 17:09:01 2007 +0000
+++ b/include/SDL_video.h	Sun Jul 22 13:22:47 2007 +0000
@@ -126,7 +126,7 @@
     SDL_WINDOW_MAXIMIZED = 0x00000040,          /**< maximized */
     SDL_WINDOW_INPUT_GRABBED = 0x00000100,      /**< window has grabbed input focus */
     SDL_WINDOW_INPUT_FOCUS = 0x00000200,        /**< window has input focus */
-    SDL_WINDOW_MOUSE_FOCUS = 0x00000400,        /**< window has mouse focus */
+    SDL_WINDOW_MOUSE_FOCUS = 0x00000400         /**< window has mouse focus */
 } SDL_WindowFlags;
 
 /**
@@ -160,7 +160,7 @@
     SDL_WINDOWEVENT_LEAVE,              /**< The window has lost mouse focus */
     SDL_WINDOWEVENT_FOCUS_GAINED,       /**< The window has gained keyboard focus */
     SDL_WINDOWEVENT_FOCUS_LOST,         /**< The window has lost keyboard focus */
-    SDL_WINDOWEVENT_CLOSE,              /**< The window manager requests that the window be closed */
+    SDL_WINDOWEVENT_CLOSE               /**< The window manager requests that the window be closed */
 } SDL_WindowEventID;
 
 /**
@@ -176,7 +176,7 @@
     SDL_RENDERER_PRESENTFLIP3 = 0x00000008,     /**< Present uses a flip, rotating between two back buffers and a front buffer */
     SDL_RENDERER_PRESENTDISCARD = 0x00000010,   /**< Present leaves the contents of the backbuffer undefined */
     SDL_RENDERER_PRESENTVSYNC = 0x00000020,     /**< Present is synchronized with the refresh rate */
-    SDL_RENDERER_ACCELERATED = 0x00000040,      /**< The renderer uses hardware acceleration */
+    SDL_RENDERER_ACCELERATED = 0x00000040       /**< The renderer uses hardware acceleration */
 } SDL_RendererFlags;
 
 /**
@@ -205,7 +205,7 @@
 typedef enum
 {
     SDL_TEXTUREACCESS_LOCAL,    /**< Lockable system memory */
-    SDL_TEXTUREACCESS_REMOTE,   /**< Unlockable video memory */
+    SDL_TEXTUREACCESS_REMOTE    /**< Unlockable video memory */
 } SDL_TextureAccess;
 
 /**
@@ -217,7 +217,7 @@
 {
     SDL_TEXTUREMODULATE_NONE = 0x00000000,     /**< No modulation */
     SDL_TEXTUREMODULATE_COLOR = 0x00000001,    /**< srcC = srcC * color */
-    SDL_TEXTUREMODULATE_ALPHA = 0x00000002,    /**< srcA = srcA * alpha */
+    SDL_TEXTUREMODULATE_ALPHA = 0x00000002     /**< srcA = srcA * alpha */
 } SDL_TextureModulate;
 
 /**
@@ -231,7 +231,7 @@
     SDL_TEXTUREBLENDMODE_MASK = 0x00000001,     /**< dst = A ? src : dst (alpha is mask) */
     SDL_TEXTUREBLENDMODE_BLEND = 0x00000002,    /**< dst = (src * A) + (dst * (1-A)) */
     SDL_TEXTUREBLENDMODE_ADD = 0x00000004,      /**< dst = (src * A) + dst */
-    SDL_TEXTUREBLENDMODE_MOD = 0x00000008,      /**< dst = src * dst */
+    SDL_TEXTUREBLENDMODE_MOD = 0x00000008       /**< dst = src * dst */
 } SDL_TextureBlendMode;
 
 /**
@@ -244,7 +244,7 @@
     SDL_TEXTURESCALEMODE_NONE = 0x00000000,     /**< No scaling, rectangles must match dimensions */
     SDL_TEXTURESCALEMODE_FAST = 0x00000001,     /**< Point sampling or equivalent algorithm */
     SDL_TEXTURESCALEMODE_SLOW = 0x00000002,     /**< Linear filtering or equivalent algorithm */
-    SDL_TEXTURESCALEMODE_BEST = 0x00000004,     /**< Bicubic filtering or equivalent algorithm */
+    SDL_TEXTURESCALEMODE_BEST = 0x00000004      /**< Bicubic filtering or equivalent algorithm */
 } SDL_TextureScaleMode;
 
 /**