Added documentation saying the render API isn't for multi-threading.
authorSam Lantinga <slouken@libsdl.org>
Sun, 28 Jul 2013 11:24:16 -0700
changeset 7542399ff49069a5
parent 7541 913786dec9d5
child 7543 a96f309059a1
Added documentation saying the render API isn't for multi-threading.
include/SDL_render.h
     1.1 --- a/include/SDL_render.h	Sat Jul 27 21:11:12 2013 +0200
     1.2 +++ b/include/SDL_render.h	Sun Jul 28 11:24:16 2013 -0700
     1.3 @@ -37,9 +37,12 @@
     1.4   *  them, and may also be stretched with linear interpolation.
     1.5   *
     1.6   *  This API is designed to accelerate simple 2D operations. You may
     1.7 - *  want more functionality such as rotation and particle effects and
     1.8 + *  want more functionality such as polygons and particle effects and
     1.9   *  in that case you should use SDL's OpenGL/Direct3D support or one
    1.10   *  of the many good 3D engines.
    1.11 + *
    1.12 + *  These functions must be called from the main thread.
    1.13 + *  See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995
    1.14   */
    1.15  
    1.16  #ifndef _SDL_render_h