summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-02-14 13:50:34 +0000
committerJose Fonseca <jfonseca@vmware.com>2015-02-14 16:07:14 +0000
commit40313c35e160b574862d1e6e236ff9eabb9afb08 (patch)
treec6ded5d8fabf6e4309244bba9fa7843dedc5965f
parentc8f52a8ea41264ae1963a89bd6f0ff2fd646d862 (diff)
downloadmesa-demos-40313c35e160b574862d1e6e236ff9eabb9afb08.zip
mesa-demos-40313c35e160b574862d1e6e236ff9eabb9afb08.tar.xz
wgl: Remove unnecessary #pragmas.
As they cause warnings on MinGW. Trivial.
-rw-r--r--src/wgl/sharedtex_mt.c2
-rw-r--r--src/wgl/wglthreads.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/wgl/sharedtex_mt.c b/src/wgl/sharedtex_mt.c
index 073b100..ef57b08 100644
--- a/src/wgl/sharedtex_mt.c
+++ b/src/wgl/sharedtex_mt.c
@@ -36,8 +36,6 @@
#include <stdlib.h>
#include <string.h>
-#pragma comment(lib, "opengl32.lib")
-
struct thread_init_arg {
int id;
};
diff --git a/src/wgl/wglthreads.c b/src/wgl/wglthreads.c
index 2ee42e2..beaf369 100644
--- a/src/wgl/wglthreads.c
+++ b/src/wgl/wglthreads.c
@@ -56,8 +56,6 @@
#include <stdlib.h>
#include <string.h>
-#pragma comment(lib, "opengl32.lib")
-
/*
* Each window/thread/context: