From 8e8d127d053dffecf9ddc015f6ed35e7272641c6 Mon Sep 17 00:00:00 2001
From: Turo Lamminen <turotl@gmail.com>
Date: Sat, 09 May 2015 20:28:23 +0000
Subject: [PATCH] Remove useless variable
---
glddstest.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/glddstest.c b/glddstest.c
index 504d794..887a868 100644
--- a/glddstest.c
+++ b/glddstest.c
@@ -270,8 +270,7 @@
// glewInit might raise errors if we got an OpenGL 3.0 context
// ignore them
// in this case glGetError is simpler than fooling around with callbacks
- GLenum err = GL_NO_ERROR;
- while ((err = glGetError()) != GL_NO_ERROR) { }
+ while (glGetError() != GL_NO_ERROR) { }
for (int i = 1; i < argc; i++) {
glddstest(argv[i]);
--
Gitblit v1.9.3