include/SDL_render.h
changeset 5337 d5d312a82d40
parent 5297 1800dc39b74c
child 5344 94189aa89b54
equal deleted inserted replaced
5336:66d3c4a6d6f8 5337:d5d312a82d40
    61 /**
    61 /**
    62  *  \brief Flags used when creating a rendering context
    62  *  \brief Flags used when creating a rendering context
    63  */
    63  */
    64 typedef enum
    64 typedef enum
    65 {
    65 {
    66     SDL_RENDERER_ACCELERATED = 0x00000001,      /**< The renderer uses hardware 
    66     SDL_RENDERER_SOFTWARE = 0x00000001,         /**< The renderer is a software fallback */ 
       
    67     SDL_RENDERER_ACCELERATED = 0x00000002,      /**< The renderer uses hardware 
    67                                                      acceleration */
    68                                                      acceleration */
    68     SDL_RENDERER_PRESENTVSYNC = 0x00000002      /**< Present is synchronized 
    69     SDL_RENDERER_PRESENTVSYNC = 0x00000004      /**< Present is synchronized 
    69                                                      with the refresh rate */
    70                                                      with the refresh rate */
    70 } SDL_RendererFlags;
    71 } SDL_RendererFlags;
    71 
    72 
    72 /**
    73 /**
    73  *  \brief Information on the capabilities of a render driver or context.
    74  *  \brief Information on the capabilities of a render driver or context.