Skip to content

Commit

Permalink
fix compile error in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ppwwyyxx committed Nov 16, 2018
1 parent 43836fb commit 8623296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion renderer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ them with words.
+ `ErrorCode=36061`: Open too many instances of renderer:
An EGL context's GPU resources only get released when __all__ other EGL contexts within the process get destroyed.
The [corresponding issue](https://github.com/facebookresearch/House3D/issues/37) has more details.
7. "[EGL] Detected 0 devices" or "Failed to get function pointer of eglQueryDevicesEXT": EGL not functioning. There could be multiple reasons:
7. "[EGL] eglQueryDevicesEXT() cannot find any EGL devices" or "Failed to get function pointer of eglQueryDevicesEXT": EGL not functioning. There could be multiple reasons:
+ Linking against a wrong `libEGL.so` instead of the one provided by nvidia driver. This is most likely.
+ GPU or driver does not support EGL.
+ Running inside container (e.g. docker) with an old driver may also result
Expand Down
2 changes: 1 addition & 1 deletion renderer/gl/glContext.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ EGLContext::EGLContext(Geometry win_size, int device): GLContext{win_size} {
// But it's very rare that you'll start a docker and hide the only one GPU from it.
visible_devices.push_back(0);
} else {
error_exit("eglQueryDevicesEXT() cannot find any EGL devices!")
error_exit("[EGL] eglQueryDevicesEXT() cannot find any EGL devices!");
}

if (device >= static_cast<int>(visible_devices.size())) {
Expand Down

0 comments on commit 8623296

Please sign in to comment.