blob: 44f1920e93f5757cd9176074f0054537ed08e7e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/thirdparty/SiftGPU/GlobalUtil.cpp b/src/thirdparty/SiftGPU/GlobalUtil.cpp
index e98ef6b..39435db 100644
--- a/src/thirdparty/SiftGPU/GlobalUtil.cpp
+++ b/src/thirdparty/SiftGPU/GlobalUtil.cpp
@@ -137,7 +137,7 @@ void GlobalUtil::CheckErrorsGL(const char* location)
const char *errstr;
while (errnum = glGetError())
{
- errstr = (const char *)(gluErrorString(errnum));
+ errstr = nullptr; // just print errnum
if(errstr) {
std::cerr << errstr;
}
|