diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-17 12:04:00 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-17 12:04:00 -0800 |
commit | e5d7fe031372fe3f17d6a7cc916b28d96250dd23 (patch) | |
tree | d1a7321a304685b4ac4edd1092505baa29ee329d /system/include/SDL/SDL_surface.h | |
parent | 904ed62b5c790603474e52632ed29bd872a0a987 (diff) |
fix SDL_MUSTLOCK
Diffstat (limited to 'system/include/SDL/SDL_surface.h')
-rw-r--r-- | system/include/SDL/SDL_surface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/include/SDL/SDL_surface.h b/system/include/SDL/SDL_surface.h index 77b58258..ecf89606 100644 --- a/system/include/SDL/SDL_surface.h +++ b/system/include/SDL/SDL_surface.h @@ -59,7 +59,9 @@ extern "C" { /** * Evaluates to true if the surface needs to be locked before access. */ -#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0) +#define SDL_MUSTLOCK(S) 1 + /* XXX Emscripten: we always need to lock. + (((S)->flags & SDL_RLEACCEL) != 0) */ /** * \brief A collection of pixels used in software blitting. |