summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-21 12:24:33 +0200
committerMarek Olšák <[email protected]>2017-06-26 02:17:03 +0200
commit1e37a5054b1f47a0e95183bd99b8c6a3a8be4725 (patch)
tree34a80a5f80ca22123136056d347f5a487407f9e7 /src/mesa/main/glthread.c
parent6884c95ab4e06a418add29052b0a633a7fdad6ae (diff)
mesa/glthread: remove HAVE_PTHREAD guards
we are switching to util_queue. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/glthread.c')
-rw-r--r--src/mesa/main/glthread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/glthread.c b/src/mesa/main/glthread.c
index 455b829cd8d..e90709c0870 100644
--- a/src/mesa/main/glthread.c
+++ b/src/mesa/main/glthread.c
@@ -38,8 +38,6 @@
#include "main/marshal_generated.h"
#include "util/u_thread.h"
-#ifdef HAVE_PTHREAD
-
static void
glthread_allocate_batch(struct gl_context *ctx)
{
@@ -284,5 +282,3 @@ _mesa_glthread_finish(struct gl_context *ctx)
pthread_mutex_unlock(&glthread->mutex);
}
-
-#endif