diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles2/rasterizer_gles2.cpp | 3 | ||||
-rw-r--r-- | drivers/speex/audio_stream_speex.cpp | 2 | ||||
-rw-r--r-- | drivers/speex/speex_header.c | 2 | ||||
-rw-r--r-- | drivers/unix/thread_posix.cpp | 3 |
4 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp index c9601b26d5..f0583121c6 100644 --- a/drivers/gles2/rasterizer_gles2.cpp +++ b/drivers/gles2/rasterizer_gles2.cpp @@ -7151,7 +7151,8 @@ void RasterizerGLES2::_update_framebuffer() { glDeleteTextures(1,&framebuffer.sample_color); glDeleteFramebuffers(1,&framebuffer.sample_fbo); - + framebuffer.luminance.clear(); + framebuffer.blur_size=0; framebuffer.fbo=0; } diff --git a/drivers/speex/audio_stream_speex.cpp b/drivers/speex/audio_stream_speex.cpp index a4209a4223..a6bac78b4d 100644 --- a/drivers/speex/audio_stream_speex.cpp +++ b/drivers/speex/audio_stream_speex.cpp @@ -7,7 +7,7 @@ static _FORCE_INLINE_ uint16_t le_short(uint16_t s) { uint16_t ret=s; -#ifdef BIG_ENDIAN_ENABLED +#if 0 //def BIG_ENDIAN_ENABLED ret = s>>8; ret += s<<8; #endif diff --git a/drivers/speex/speex_header.c b/drivers/speex/speex_header.c index 2b3fb78396..2792623983 100644 --- a/drivers/speex/speex_header.c +++ b/drivers/speex/speex_header.c @@ -47,7 +47,7 @@ /** Convert little endian */ static SPEEX_INLINE spx_int32_t le_int(spx_int32_t i) { -#if !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) || defined(BIG_ENDIAN_ENABLED) ) +#if !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) /* || defined(BIG_ENDIAN_ENABLED) */ ) spx_uint32_t ui, ret; ui = i; ret = ui>>24; diff --git a/drivers/unix/thread_posix.cpp b/drivers/unix/thread_posix.cpp index b2f1e144bb..e5d6a02579 100644 --- a/drivers/unix/thread_posix.cpp +++ b/drivers/unix/thread_posix.cpp @@ -56,7 +56,8 @@ Thread* ThreadPosix::create_func_posix(ThreadCreateCallback p_callback,void *p_u tr->callback=p_callback; tr->user=p_user; pthread_attr_init(&tr->pthread_attr); - pthread_attr_setdetachstate(&tr->pthread_attr, PTHREAD_CREATE_JOINABLE); + pthread_attr_setdetachstate(&tr->pthread_attr, PTHREAD_CREATE_JOINABLE); + pthread_attr_setstacksize(&tr->pthread_attr, 256 * 1024); pthread_create(&tr->pthread, &tr->pthread_attr, thread_callback, tr); |