Fixed bug 2076 - OpenGL doesn't work with --disable-threads
stepik-777 Thread local storage is used to store current window and current opengl context. OpenGL worked before this changeset: 7596 (45e5c263c096)
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#ifndef _SDL_thread_c_h
|
||||
#define _SDL_thread_c_h
|
||||
|
||||
#include "SDL_thread.h"
|
||||
|
||||
/* Need the definitions of SYS_ThreadHandle */
|
||||
#if SDL_THREADS_DISABLED
|
||||
#include "generic/SDL_systhread_c.h"
|
||||
|
||||
Reference in New Issue
Block a user