summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-01-13 11:07:24 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-01-13 11:07:24 +0000
commita869d15d15005127240f632f30e237f2fd747cd2 (patch)
treeaad748bb10fc34fac0f21d4b1a6daa280886cb38
parent7a9a12198c6e0e4d110dd9cbe6b407b49f8270d7 (diff)
downloadmesa-demos-a869d15d15005127240f632f30e237f2fd747cd2.zip
mesa-demos-a869d15d15005127240f632f30e237f2fd747cd2.tar.xz
wg/sharedtex_mt: Remove unsed variable.
-rw-r--r--src/wgl/sharedtex_mt.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wgl/sharedtex_mt.c b/src/wgl/sharedtex_mt.c
index ef57b08..084b00f 100644
--- a/src/wgl/sharedtex_mt.c
+++ b/src/wgl/sharedtex_mt.c
@@ -508,7 +508,6 @@ int
main(int argc, char *argv[])
{
struct thread_init_arg tia[MAX_WINDOWS];
- struct window *h[MAX_WINDOWS];
HANDLE threads[MAX_WINDOWS];
int i;
@@ -518,10 +517,10 @@ main(int argc, char *argv[])
return -1;
/* four windows and contexts sharing display lists and texture objects */
- h[0] = AddWindow( 10, 10, gCtx);
- h[1] = AddWindow(330, 10, gCtx);
- h[2] = AddWindow( 10, 350, gCtx);
- h[3] = AddWindow(330, 350, gCtx);
+ AddWindow( 10, 10, gCtx);
+ AddWindow(330, 10, gCtx);
+ AddWindow( 10, 350, gCtx);
+ AddWindow(330, 350, gCtx);
for (i = 0; i < NumWindows; i++) {
Windows[i].hEventInitialised = CreateEvent(NULL, TRUE, FALSE, NULL);