Skip to content

Commit

Permalink
Disable SW rendering while OSMesa support is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoeppe committed Oct 19, 2018
1 parent 048cb06 commit c23dc83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ cc_library(
hdrs = ["public/dmlab.h"],
data = [
":libdmlab_headless_hw.so",
":libdmlab_headless_sw.so",
#":libdmlab_headless_sw.so",
],
linkopts = ["-ldl"],
visibility = ["//testing:__subpackages__"],
Expand Down
2 changes: 1 addition & 1 deletion python/dmlab_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static int Lab_init(PyObject* pself, PyObject* args, PyObject* kwds) {

DeepMindLabLaunchParams params = {};
params.runfiles_path = get_module_state(module)->runfiles_path;
params.renderer = DeepMindLabRenderer_Software;
params.renderer = DeepMindLabRenderer_Hardware;
if (renderer != NULL && renderer[0] != '\0') {
if (strcmp(renderer, "hardware") == 0) {
params.renderer = DeepMindLabRenderer_Hardware;
Expand Down

0 comments on commit c23dc83

Please sign in to comment.