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