OSYSTEM: Mention that our OSystem graphics API is not thread safe.

Based on f621f6a505 and the fact that our OpenGL
based backends do not (and sometimes cannot easily) implement it in a thread
safe manner.
This commit is contained in:
Johannes Schickel 2011-08-06 18:53:21 +02:00
parent df3bc62a3a
commit bcd07d35bb

View file

@ -403,6 +403,11 @@ public:
* factor 2x, too, just like the game graphics. But if it has a
* cursorTargetScale of 2, then it shouldn't be scaled again by
* the game graphics scaler.
*
* On a note for OSystem users here. We do not require our graphics
* to be thread safe and in fact most/all backends using OpenGL are
* not. So do *not* try to call any of these functions from a timer
* and/or audio callback (like readBuffer of AudioStreams).
*/
//@{