Add some general fixes from #111 found by @chosenofbear
This commit is contained in:
		
							parent
							
								
									e778dc17c5
								
							
						
					
					
						commit
						2d31d08fa6
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,7 @@ int __sdlThreadFun(void *obj)
 | 
			
		|||
template<class C, void (C::*func)()>
 | 
			
		||||
SDL_Thread *createSDLThread(C *obj, const std::string &name = std::string())
 | 
			
		||||
{
 | 
			
		||||
	return SDL_CreateThread(__sdlThreadFun<C, func>, name.c_str(), obj);
 | 
			
		||||
	return SDL_CreateThread((__sdlThreadFun<C, func>), name.c_str(), obj);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* On Android, SDL_RWFromFile always opens files from inside
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,7 @@
 | 
			
		|||
#define OV_EXCLUDE_STATIC_CALLBACKS
 | 
			
		||||
#include <vorbis/vorbisfile.h>
 | 
			
		||||
#include <vector>
 | 
			
		||||
#include <algorithm>
 | 
			
		||||
 | 
			
		||||
static size_t vfRead(void *ptr, size_t size, size_t nmemb, void *ops)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue