Added documentation saying the render API isn't for multi-threading.

This commit is contained in:
Sam Lantinga 2013-07-28 11:24:16 -07:00
parent 1baa9e9bda
commit 56c6743a1b

View file

@ -37,9 +37,12 @@
* them, and may also be stretched with linear interpolation. * them, and may also be stretched with linear interpolation.
* *
* This API is designed to accelerate simple 2D operations. You may * 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 * in that case you should use SDL's OpenGL/Direct3D support or one
* of the many good 3D engines. * 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 #ifndef _SDL_render_h