-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
ports/colmap/glew-get-error-string.diff → ports/colmap/no-glu.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/src/thirdparty/SiftGPU/GlobalUtil.cpp b/src/thirdparty/SiftGPU/GlobalUtil.cpp | ||
index e98ef6b..10fb19b 100644 | ||
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 = (const char *)(glewGetErrorString(errnum)); | ||
+ errstr = nullptr; // just print errnum | ||
if(errstr) { | ||
std::cerr << errstr; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters